A vivid dark purple, white text passes AA
Tailwind purple-800
Tailwind purple-800 is oklch(43.8% 0.218 303.724) in Tailwind CSS 4.3.3, which is #6e11b0 in hex and rgb(110 17 176). White text on it reaches 8.86:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.
Last updated
--color-purple-800), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(43.8% 0.218 303.724) |
| Hex | #6e11b0 |
| RGB | rgb(110 17 176) |
| HSL | hsl(275 82% 38%) |
| CSS variable | var(--color-purple-800) |
| Nearest CSS name | rebeccapurple #663399, 0.058 away in OKLab |
| White text | 8.86:1: AA passes, AAA passes, large text passes |
| Black text | 2.37:1: AA fails, AAA fails, large text fails |
About purple-800
Tailwind purple-800 is a vivid dark purple: OKLCH lightness 43.8%, chroma 0.218, hue 303.7 degrees. On Tailwind's purple scale it sits between purple-700 at 49.6% and purple-900 at 38.1%.
Here HSL's lightness, 38%, lands near OKLCH's 43.8%, which is not true of every color. Its value fits inside sRGB, so #6e11b0 is the same color, not an approximation.
White text on purple-800 measures 8.86:1, past the 7:1 of WCAG AAA, while black text manages only 2.37:1. On the purple scale white text works from purple-600 to purple-950; purple-800 has 2 shades of margin.
No CSS keyword matches it; rebeccapurple (#663399) is the nearest, 0.058 away in OKLab, a clear step off.
Tints and shades
- #e5dbf4
- #ccb7e9
- #b393dc
- #9b6fce
- #8448c0
- #6e11b0
- #550b89
- #3d0564
- #260242
- #110122
- #020007
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
- #6e11b0
- #cbbcef
- #261d31
- #9d7cd6
- #e6def0
Recolor's generator, with purple-800 locked as swatch 1 and the seed taken from its hex, drew a monochromatic palette, one hue in five lightnesses: #cbbcef, #261d31, #9d7cd6, #e6def0. Open it in Recolor.
Using purple-800
Pair it with text-white, 8.86:1; purple-800 as text on a white page measures the same ratio. In CSS it is var(--color-purple-800).
<a class="bg-purple-800 text-white" href="/start">Get started</a>
<p class="text-purple-800">Text in purple-800</p>Common questions
Does white text pass WCAG AA on Tailwind purple-800?
Yes. White text measures 8.86:1 on purple-800, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind purple-800 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-purple-800: oklch(43.8% 0.218 303.724); #6e11b0 is its conversion to sRGB.
Is there a CSS named color for Tailwind purple-800?
No. The nearest CSS named color is rebeccapurple (#663399), 0.058 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org