Color Reference · Lilac Haze

#F0E7FC

oklch(94.1% 0.03 305)

HEX
#F0E7FC
OKLCH
oklch(94.1% 0.03 305)
RGB
rgb(240, 231, 252)
HSL
hsl(266deg 78% 95%)
Relative Luminance
Y = 0.8271

Using #F0E7FC as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.2:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 14.91:1
AAA
OKLCH AA text-on-white fix: #7A7285 (4.59:1)Open Checker →

Using #F0E7FC as Button / Surface Fill

White ink (#FFFFFF) on #F0E7FC
Contrast ratio 1.2:1
Fail
Dark ink (#0F172A) on #F0E7FC
Contrast ratio 14.91:1
AAA

Recommended accessible ink on #F0E7FC: #0F172A.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #F0E7FC