Color Reference · Cool Pewter

#796CA4

oklch(56.6% 0.086 294)

HEX
#796CA4
OKLCH
oklch(56.6% 0.086 294)
RGB
rgb(121, 108, 164)
HSL
hsl(254deg 24% 53%)
Relative Luminance
Y = 0.1747

Using #796CA4 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.67:1
AA
Sample text on Slate (#0F172A)
Contrast ratio 3.82:1
AA Large

Using #796CA4 as Button / Surface Fill

White ink (#FFFFFF) on #796CA4
Contrast ratio 4.67:1
AA
Dark ink (#0F172A) on #796CA4
Contrast ratio 3.82:1
AA Large

Recommended accessible ink on #796CA4: #FFFFFF.

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 #796CA4