A vivid dark purple, white text passes AA
Tailwind purple-700
The hex code of Tailwind purple-700 is #8200db (rgb(130 0 219)), from its Tailwind CSS 4.3.3 value oklch(49.6% 0.265 301.924). White text on it reaches 7.07:1, passing WCAG AAA; below, Recolor (recolor.page) puts it on a page.
Last updated
--color-purple-700), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(49.6% 0.265 301.924) |
| Hex | #8200db, the nearest color in sRGB |
| RGB | rgb(130 0 219) |
| HSL | hsl(276 100% 43%) |
| OKLCH of the hex | oklch(49.8% 0.263 301.7) |
| CSS variable | var(--color-purple-700) |
| Nearest CSS name | blueviolet #8a2be2, 0.038 away in OKLab |
| White text | 7.07:1: AA passes, AAA passes, large text passes |
| Black text | 2.97:1: AA fails, AAA fails, large text fails |
About purple-700
Read as numbers, purple-700 is lightness 49.6%, chroma 0.265 and hue 301.9 degrees; read by eye, it is a vivid dark purple. Its neighbors on the purple scale are purple-600, 6.2 points lighter, and purple-800, 5.8 points darker.
HSL calls its lightness 43%, OKLCH 49.6%: 7 points between a formula and a measure of what the eye sees. A hex code cannot hold purple-700 exactly: the value is outside sRGB, and #8200db is the CSS Color 4 gamut mapping of it, chroma lowered by 0.002, 0.2 points of lightness and 0.2 degrees of hue away from the value.
White on purple-700 reads at 7.07:1, enough for AAA body text; black reaches 2.97:1 and should stay off it. White text passes on every purple shade from purple-600 down, so purple-700 is 1 shade past the line.
Of the named colors, blueviolet (#8a2be2) is the nearest, 0.038 away in OKLab; next to each other the two still differ.
Tints and shades
- #e8ddfd
- #d2bbf9
- #bd99f3
- #a875ec
- #954de4
- #8200db
- #6500ac
- #49007e
- #2f0054
- #16002d
- #03000b
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
- #8200db
- #eeefff
- #866fab
- #361c3c
- #e498d0
Around purple-700 as swatch 1, Recolor's generator made an analogous palette, hues next to each other on the wheel: #eeefff, #866fab, #361c3c, #e498d0, drawn from a seed fixed by its hex. Open it in Recolor.
Using purple-700
Pair it with text-white, 7.07:1; purple-700 as text on a white page measures the same ratio. In CSS it is var(--color-purple-700).
<a class="bg-purple-700 text-white" href="/start">Get started</a>
<p class="text-purple-700">Text in purple-700</p>Common questions
Does white text pass WCAG AA on Tailwind purple-700?
Yes. White text measures 7.07:1 on purple-700, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind purple-700 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-purple-700: oklch(49.6% 0.265 301.924); #8200db is its nearest sRGB color, since the value lies outside sRGB.
Is there a CSS named color for Tailwind purple-700?
No. The nearest CSS named color is blueviolet (#8a2be2), 0.038 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