OKLCH Studio · color reference
violet-300 in OKLCH
Tailwind v4 violet-300: oklch(0.811 0.111 293.6), HEX #C4B4FF. WCAG + APCA pairs, Fix deep links, and @theme snippet.
violet-300 sits in the mid-light range — useful for secondary surfaces and large display type after a contrast check.
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 white1.86:1 · Fail · Lc 35
#C4B4FF on #FFFFFF
Open in Contrast → - White on swatchnot a suggestion1.86:1 · Fail · Lc 39
#FFFFFF on #C4B4FF
Demo of a common fail — not a suggestion.
Open in Contrast → - Black on swatch11.32:1 · AAA · Lc 69
#000000 on #C4B4FF
Open in Contrast → - Fix → AA on white4.61:1 · AA · Lc 72
#7B6AB3 on #FFFFFF
Open in Contrast → - Suggested text on swatch10.48:1 · AAA · Lc 69
#0D0D0D on #C4B4FF
Open in Contrast →
Dark surface pairing
Against #121212: This stop already passes AA as text on #121212 (10.10:1).
Copy code
@theme {
--color-violet-300: oklch(0.811 0.111 293.6);
}Related
Convert #C4B4FF
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