Color Reference · Lilac Haze

#CFBAFF

oklch(83% 0.098 298)

HEX
#CFBAFF
OKLCH
oklch(83% 0.098 298)
RGB
rgb(207, 186, 255)
HSL
hsl(258deg 100% 86%)
Relative Luminance
Y = 0.556

Using #CFBAFF as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.73:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 10.3:1
AAA
OKLCH AA text-on-white fix: #7C67A6 (4.83:1)Open Checker →

Using #CFBAFF as Button / Surface Fill

White ink (#FFFFFF) on #CFBAFF
Contrast ratio 1.73:1
Fail
Dark ink (#0F172A) on #CFBAFF
Contrast ratio 10.3:1
AAA

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