A vivid light violet, black text passes AA
Tailwind violet-200
The hex code of Tailwind violet-200 is #ddd6ff (rgb(221 214 255)), from its Tailwind CSS 4.3.3 value oklch(89.4% 0.057 293.283). Black text on it reaches 15.14:1, passing WCAG AAA; below, Recolor (recolor.page) puts it on a page.
Last updated
--color-violet-200), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(89.4% 0.057 293.283) |
| Hex | #ddd6ff, the nearest color in sRGB |
| RGB | rgb(221 214 255) |
| HSL | hsl(250 100% 92%) |
| OKLCH of the hex | oklch(89.5% 0.056 293.1) |
| CSS variable | var(--color-violet-200) |
| Nearest CSS name | lavender #e6e6fa, 0.047 away in OKLab |
| White text | 1.39:1: AA fails, AAA fails, large text fails |
| Black text | 15.14:1: AA passes, AAA passes, large text passes |
About violet-200
Read as numbers, violet-200 is lightness 89.4%, chroma 0.057 and hue 293.3 degrees; read by eye, it is a vivid light violet. Its neighbors on the violet scale are violet-100, 4.9 points lighter, and violet-300, 8.3 points darker.
HSL and OKLCH agree on how light it is, 92% and 89.4%. A hex code cannot hold violet-200 exactly: the value is outside sRGB, and #ddd6ff is the CSS Color 4 gamut mapping of it, chroma lowered by 0.001, 0.1 points of lightness and 0.2 degrees of hue away from the value.
Black on violet-200 reads at 15.14:1, enough for AAA body text; white reaches 1.39:1 and should stay off it. Black text passes on every violet shade from violet-50 to violet-500, 3 shades darker than violet-200.
Of the named colors, lavender (#e6e6fa) is the nearest, 0.047 away in OKLab; next to each other the two still differ.
Tints and shades
- #f9f8ff
- #f3f1ff
- #eeebff
- #e8e4ff
- #e3ddff
- #ddd6ff
- #ada8c8
- #807b94
- #555263
- #2e2c36
- #0b0a0f
From light to dark: 5 toward white and 5 toward black, mixed in OKLCH a sixth of the way at a time with the hue kept. A step that would repeat its neighbor is left out.
A palette around it
- #ddd6ff
- #58a566
- #352200
- #b3acff
- #4e4868
Around violet-200 as swatch 1, Recolor's generator made a split-complementary palette, built on the two hues beside its opposite: #58a566, #352200, #b3acff, #4e4868, drawn from a seed fixed by its hex. Open it in Recolor.
Using violet-200
Pair it with text-black, 15.14:1; violet-200 as text on a black page measures the same ratio. In CSS it is var(--color-violet-200).
<a class="bg-violet-200 text-black" href="/start">Get started</a>
<p class="text-violet-200">Text in violet-200</p>Common questions
Does white text pass WCAG AA on Tailwind violet-200?
No. White text measures 1.39:1 on violet-200, under AA's 4.5:1; black text measures 15.14:1 and passes. The lightest violet shade for white text is violet-600.
Is Tailwind violet-200 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-violet-200: oklch(89.4% 0.057 293.283); #ddd6ff is its nearest sRGB color, since the value lies outside sRGB.
Is there a CSS named color for Tailwind violet-200?
No. The nearest CSS named color is lavender (#e6e6fa), 0.047 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org
- CSS Color Module Level 4: gamut mapping w3.org