OKLCH Studio · color reference
purple-500 in OKLCH
Tailwind v4 purple-500: oklch(0.627 0.265 303.9), HEX #AD46FF. WCAG + APCA pairs, Fix deep links, and @theme snippet.
purple-500 is Tailwind’s default brand stop — strong for accents and buttons. Verify text on this swatch with Fix; many 500s fail white-on-color for body text.
Contrast pairs
WCAG 2.1 normal text + APCA Lc. Open a pair in the live Fix tool — informational only, not a legal audit.
- Text on white4.12:1 · Fail · Lc 67
#AD46FF on #FFFFFF
Open in Contrast → - White on swatchnot a suggestion4.12:1 · Fail · Lc 73
#FFFFFF on #AD46FF
Demo of a common fail — not a suggestion.
Open in Contrast → - Black on swatch5.10:1 · AA · Lc 37
#000000 on #AD46FF
Open in Contrast → - Fix → AA on white4.77:1 · AA · Lc 72
#A136F8 on #FFFFFF
Open in Contrast → - Suggested text on swatch4.72:1 · AA · Lc 36
#0D0D0D on #AD46FF
Open in Contrast →
Dark surface pairing
Against #121212: This stop already passes AA as text on #121212 (4.55:1).
Copy code
@theme {
--color-purple-500: oklch(0.627 0.265 303.9);
}Related
Convert #AD46FF
Keep exploring
Static reference — the live Fix tool uses the same WCAG math with Undo and share links.
Contrast Fix →OKLCH Studio homeTailwind indexCSS names index