Color Reference · Cornflower Silk

#7A98FF

oklch(70.3% 0.155 270)

HEX
#7A98FF
OKLCH
oklch(70.3% 0.155 270)
RGB
rgb(122, 152, 255)
HSL
hsl(226deg 100% 74%)
Relative Luminance
Y = 0.3381

Using #7A98FF as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 2.71:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 6.6:1
AA
OKLCH AA text-on-white fix: #546ED1 (4.64:1)Open Checker →

Using #7A98FF as Button / Surface Fill

White ink (#FFFFFF) on #7A98FF
Contrast ratio 2.71:1
Fail
Dark ink (#0F172A) on #7A98FF
Contrast ratio 6.6:1
AA

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