Color Reference · Cornflower Silk

#7897FF

oklch(70% 0.156 270)

HEX
#7897FF
OKLCH
oklch(70% 0.156 270)
RGB
rgb(120, 151, 255)
HSL
hsl(226deg 100% 74%)
Relative Luminance
Y = 0.3335

Using #7897FF as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 2.74:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 6.52:1
AA
OKLCH AA text-on-white fix: #526DD1 (4.7:1)Open Checker →

Using #7897FF as Button / Surface Fill

White ink (#FFFFFF) on #7897FF
Contrast ratio 2.74:1
Fail
Dark ink (#0F172A) on #7897FF
Contrast ratio 6.52:1
AA

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