OKLCH Studio · color reference
CSS color lavender in OKLCH
Named CSS color lavender: oklch(0.931 0.027 285.9), HEX #E6E6FA. Contrast pairs (WCAG + APCA) and Fix links.
CSS “lavender” is very light — treat as a background or highlight, not body text on white.
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.23:1 · Fail · Lc 11
#E6E6FA on #FFFFFF
Open in Contrast → - White on swatchnot a suggestion1.23:1 · Fail · Lc 13
#FFFFFF on #E6E6FA
Demo of a common fail — not a suggestion.
Open in Contrast → - Black on swatch17.06:1 · AAA · Lc 92
#000000 on #E6E6FA
Open in Contrast → - Fix → AA on white5.30:1 · AA · Lc 76
#6A6A7B on #FFFFFF
Open in Contrast → - Suggested text on swatch15.79:1 · AAA · Lc 92
#0D0D0D on #E6E6FA
Open in Contrast →
Dark surface pairing
Against #121212: lavender already passes AA on #121212.
Copy code
:root {
--lavender: oklch(0.931 0.027 285.9);
}Related
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