A vivid medium magenta, black text passes AA
Tailwind fuchsia-400
Tailwind fuchsia-400 is oklch(74% 0.238 322.16) in Tailwind CSS 4.3.3, which is #ed6bff as the nearest sRGB hex and rgb(237 107 255). Black text on it reaches 8.15:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.
Last updated
--color-fuchsia-400), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(74% 0.238 322.16) |
| Hex | #ed6bff, the nearest color in sRGB |
| RGB | rgb(237 107 255) |
| HSL | hsl(293 100% 71%) |
| OKLCH of the hex | oklch(73.9% 0.235 322.6) |
| CSS variable | var(--color-fuchsia-400) |
| Nearest CSS name | violet #ee82ee, 0.057 away in OKLab |
| White text | 2.58:1: AA fails, AAA fails, large text fails |
| Black text | 8.15:1: AA passes, AAA passes, large text passes |
About fuchsia-400
Tailwind fuchsia-400 is a vivid medium magenta: OKLCH lightness 74.0%, chroma 0.238, hue 322.2 degrees. On Tailwind's fuchsia scale it sits between fuchsia-300 at 83.3% and fuchsia-500 at 66.7%.
HSL and OKLCH agree on how light it is, 71% and 74.0%. Its value lies outside sRGB, the colors a hex code can name: #ed6bff is what CSS Color 4's gamut mapping makes of it, chroma 0.235 instead of 0.238, moving 0.1 points of lightness and 0.5 degrees of hue. A wide-gamut screen shows the stronger original.
Black text on fuchsia-400 measures 8.15:1, past the 7:1 of WCAG AAA, while white text manages only 2.58:1. Black text passes on every fuchsia shade from fuchsia-50 to fuchsia-600, 2 shades darker than fuchsia-400.
The nearest CSS named color, violet (#ee82ee), is 0.057 away in OKLab: related, but plainly a different color.
Tints and shades
- #fee8ff
- #fcd2ff
- #f9baff
- #f6a2ff
- #f288ff
- #ed6bff
- #ba52c8
- #893b94
- #5c2563
- #321136
- #0d020f
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
- #ed6bff
- #051d1e
- #9f7b3c
- #f7d3f6
- #6b4700
Recolor's generator, with fuchsia-400 locked as swatch 1 and the seed taken from its hex, drew a triadic palette, three hues a third of the wheel apart: #051d1e, #9f7b3c, #f7d3f6, #6b4700. Open it in Recolor.
Using fuchsia-400
Pair it with text-black, 8.15:1; fuchsia-400 as text on a black page measures the same ratio. In CSS it is var(--color-fuchsia-400).
<a class="bg-fuchsia-400 text-black" href="/start">Get started</a>
<p class="text-fuchsia-400">Text in fuchsia-400</p>Common questions
Does white text pass WCAG AA on Tailwind fuchsia-400?
No. White text measures 2.58:1 on fuchsia-400, under AA's 4.5:1; black text measures 8.15:1 and passes. The lightest fuchsia shade for white text is fuchsia-600.
Is Tailwind fuchsia-400 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-fuchsia-400: oklch(74% 0.238 322.16); #ed6bff is its nearest sRGB color, since the value lies outside sRGB.
Is there a CSS named color for Tailwind fuchsia-400?
No. The nearest CSS named color is violet (#ee82ee), 0.057 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