Color Reference · Lilac Haze

#CAB5FE

oklch(81.7% 0.103 297)

HEX
#CAB5FE
OKLCH
oklch(81.7% 0.103 297)
RGB
rgb(202, 181, 254)
HSL
hsl(257deg 97% 85%)
Relative Luminance
Y = 0.5276

Using #CAB5FE as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.82:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 9.82:1
AAA
OKLCH AA text-on-white fix: #7C67AA (4.8:1)Open Checker →

Using #CAB5FE as Button / Surface Fill

White ink (#FFFFFF) on #CAB5FE
Contrast ratio 1.82:1
Fail
Dark ink (#0F172A) on #CAB5FE
Contrast ratio 9.82:1
AAA

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