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

#8200dbpurple-700
From the theme file of Tailwind CSS 4.3.3 (--color-purple-700), converted with Recolor's color code, October 9, 2026
FormatValue
OKLCH, as Tailwind writes itoklch(49.6% 0.265 301.924)
Hex#8200db, the nearest color in sRGB
RGBrgb(130 0 219)
HSLhsl(276 100% 43%)
OKLCH of the hexoklch(49.8% 0.263 301.7)
CSS variablevar(--color-purple-700)
Nearest CSS nameblueviolet #8a2be2, 0.038 away in OKLab
White text7.07:1: AA passes, AAA passes, large text passes
Black text2.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

  1. #e8ddfd
  2. #d2bbf9
  3. #bd99f3
  4. #a875ec
  5. #954de4
  6. #8200db
  7. #6500ac
  8. #49007e
  9. #2f0054
  10. #16002d
  11. #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

  1. #8200db
  2. #eeefff
  3. #866fab
  4. #361c3c
  5. #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).

HTML
<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