Color Reference · Lilac Haze

#E7B4FB

oklch(83.9% 0.111 316)

HEX
#E7B4FB
OKLCH
oklch(83.9% 0.111 316)
RGB
rgb(231, 180, 251)
HSL
hsl(283deg 90% 85%)
Relative Luminance
Y = 0.566

Using #E7B4FB as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.7:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 10.47:1
AAA
OKLCH AA text-on-white fix: #9161A3 (4.73:1)Open Checker →

Using #E7B4FB as Button / Surface Fill

White ink (#FFFFFF) on #E7B4FB
Contrast ratio 1.7:1
Fail
Dark ink (#0F172A) on #E7B4FB
Contrast ratio 10.47:1
AAA

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