Color Reference · Lilac Haze

#C7B2FF

oklch(80.9% 0.109 296)

HEX
#C7B2FF
OKLCH
oklch(80.9% 0.109 296)
RGB
rgb(199, 178, 255)
HSL
hsl(256deg 100% 85%)
Relative Luminance
Y = 0.512

Using #C7B2FF as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.87:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 9.56:1
AAA
OKLCH AA text-on-white fix: #7D68AF (4.7:1)Open Checker →

Using #C7B2FF as Button / Surface Fill

White ink (#FFFFFF) on #C7B2FF
Contrast ratio 1.87:1
Fail
Dark ink (#0F172A) on #C7B2FF
Contrast ratio 9.56:1
AAA

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