Skip to main content

bg-violet-100

Tailwind Violet 100

#EDE9FE·Violet family·Shade 100

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

60/100

Good

Based on WCAG 2.1 contrast ratios against white and black backgrounds.

On White

1.19:1

Fail

On Black

17.69:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-violet-100

Text

text-violet-100

Border

border-violet-100

Ring

ring-violet-100

Outline

outline-violet-100

Fill

fill-violet-100

Stroke

stroke-violet-100

From (gradient)

from-violet-100

Via (gradient)

via-violet-100

To (gradient)

to-violet-100

Placeholder

placeholder-violet-100

Caret

caret-violet-100

Accent

accent-violet-100

Decoration

decoration-violet-100

Shadow Color

shadow-violet-100

Tailwind 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

Body text on white — insufficient contrast for normal-size text.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #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.