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
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.39:1
On Black
15.12:1
Tailwind Usage — All Utilities
Background
bg-violet-200Text
text-violet-200Border
border-violet-200Ring
ring-violet-200Outline
outline-violet-200Fill
fill-violet-200Stroke
stroke-violet-200From (gradient)
from-violet-200Via (gradient)
via-violet-200To (gradient)
to-violet-200Placeholder
placeholder-violet-200Caret
caret-violet-200Accent
accent-violet-200Decoration
decoration-violet-200Shadow Color
shadow-violet-200Tailwind 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
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #DDD6FE
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Violet 200
Nearest Tailwind equivalent — #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.