Skip to main content

bg-violet-200

Tailwind Violet 200

#DDD6FE·Violet family·Shade 200

Color Values

HEX
#DDD6FE
RGB
rgb(221, 214, 254)
HSL
hsl(251, 95%, 92%)
OKLCH
oklch(0.894 0.055 293)
CMYK
cmyk(13%, 16%, 0%, 0%)
CSS Variable
var(--color-violet-200)
Tailwind Class
bg-violet-200

Accessibility Score

60/100

Good

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

On White

1.39:1

Fail

On Black

15.12:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-violet-200

Text

text-violet-200

Border

border-violet-200

Ring

ring-violet-200

Outline

outline-violet-200

Fill

fill-violet-200

Stroke

stroke-violet-200

From (gradient)

from-violet-200

Via (gradient)

via-violet-200

To (gradient)

to-violet-200

Placeholder

placeholder-violet-200

Caret

caret-violet-200

Accent

accent-violet-200

Decoration

decoration-violet-200

Shadow Color

shadow-violet-200

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'violet-200': '#ddd6fe', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #DDD6FE;

/* RGB */
background-color: rgb(221, 214, 254);

/* HSL */
background-color: hsl(251, 95%, 92%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.894 0.055 293);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-violet-200);

/* Gradient example */
background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);

OKLCH — Modern Color Space

Lightness (L)

0.894

89% perceived brightness

Chroma (C)

0.055

Color intensity / saturation

Hue (H)

293°

Angle on perceptual hue wheel

oklch(0.894 0.055 293)

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

Soft accent & border

Shade 200 of the Violet palette

Recommended Uses

  • Focus ring outlines
  • Divider lines
  • Soft tag borders
  • Progress track fills
  • Decorative underlines

Avoid

Small body text — borderline contrast, fails WCAG AA at small sizes.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #DDD6FE

Frequently Asked Questions

What is the hex code for Tailwind Violet 200?
Tailwind Violet 200 has the hex code #DDD6FE. Its RGB value is rgb(221, 214, 254) and its HSL value is hsl(251, 95%, 92%).
What Tailwind utility classes use Violet 200?
Use bg-violet-200 for backgrounds, text-violet-200 for text color, border-violet-200 for borders, and ring-violet-200 for focus rings. In Tailwind v4 the CSS variable var(--color-violet-200) is available natively.
Is Tailwind Violet 200 WCAG accessible?
Tailwind Violet 200 achieves a 1.39:1 contrast ratio on white (Fail) and 15.12:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Violet 200?
Tailwind Violet 200 in OKLCH is oklch(0.894 0.055 293) — lightness 0.894, chroma 0.055, hue 293°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Violet 200 used for?
At shade 200, Tailwind Violet 200 is best described as "Soft accent & border". Recommended uses: Focus ring outlines, Divider lines, Soft tag borders.