Color Values
- HEX
- #EDE9FE
- RGB
- rgb(237, 233, 254)
- HSL
- hsl(251, 91%, 95%)
- OKLCH
- oklch(0.943 0.028 295)
- CMYK
- cmyk(7%, 8%, 0%, 0%)
- CSS Variable
- var(--color-violet-100)
- Tailwind Class
- bg-violet-100
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.19:1
On Black
17.69:1
Tailwind Usage — All Utilities
Background
bg-violet-100Text
text-violet-100Border
border-violet-100Ring
ring-violet-100Outline
outline-violet-100Fill
fill-violet-100Stroke
stroke-violet-100From (gradient)
from-violet-100Via (gradient)
via-violet-100To (gradient)
to-violet-100Placeholder
placeholder-violet-100Caret
caret-violet-100Accent
accent-violet-100Decoration
decoration-violet-100Shadow Color
shadow-violet-100Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'violet-100': '#ede9fe',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #EDE9FE;
/* RGB */
background-color: rgb(237, 233, 254);
/* HSL */
background-color: hsl(251, 91%, 95%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.943 0.028 295);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-violet-100);
/* Gradient example */
background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);OKLCH — Modern Color Space
Lightness (L)
0.943
94% perceived brightness
Chroma (C)
0.028
Color intensity / saturation
Hue (H)
295°
Angle on perceptual hue wheel
oklch(0.943 0.028 295)OKLCH is a perceptually uniform color space in CSS Color Level 4. Unlike HSL, equal steps in L produce equal perceived lightness changes — making it ideal for building accessible, harmonious design system scales.
Design Recommendations
Light surface & background
Shade 100 of the Violet palette
Recommended Uses
- ✓Card backgrounds
- ✓Sidebar fills
- ✓Input field backgrounds
- ✓Chip & badge backgrounds
- ✓Skeleton loaders
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #EDE9FE
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Violet 100
Nearest Tailwind equivalent — #EDE9FE
Frequently Asked Questions
- What is the hex code for Tailwind Violet 100?
- Tailwind Violet 100 has the hex code #EDE9FE. Its RGB value is rgb(237, 233, 254) and its HSL value is hsl(251, 91%, 95%).
- What Tailwind utility classes use Violet 100?
- Use bg-violet-100 for backgrounds, text-violet-100 for text color, border-violet-100 for borders, and ring-violet-100 for focus rings. In Tailwind v4 the CSS variable var(--color-violet-100) is available natively.
- Is Tailwind Violet 100 WCAG accessible?
- Tailwind Violet 100 achieves a 1.19:1 contrast ratio on white (Fail) and 17.69:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Violet 100?
- Tailwind Violet 100 in OKLCH is oklch(0.943 0.028 295) — lightness 0.943, chroma 0.028, hue 295°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Violet 100 used for?
- At shade 100, Tailwind Violet 100 is best described as "Light surface & background". Recommended uses: Card backgrounds, Sidebar fills, Input field backgrounds.