Color Reference · Lilac Haze

#E7B3FF

oklch(83.9% 0.117 315)

HEX
#E7B3FF
OKLCH
oklch(83.9% 0.117 315)
RGB
rgb(231, 179, 255)
HSL
hsl(281deg 100% 85%)
Relative Luminance
Y = 0.5645

Using #E7B3FF as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.71:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 10.45:1
AAA
OKLCH AA text-on-white fix: #9160A6 (4.74:1)Open Checker →

Using #E7B3FF as Button / Surface Fill

White ink (#FFFFFF) on #E7B3FF
Contrast ratio 1.71:1
Fail
Dark ink (#0F172A) on #E7B3FF
Contrast ratio 10.45:1
AAA

Recommended accessible ink on #E7B3FF: #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 #E7B3FF