Color Reference · Cool Pewter

#8A7FA7

oklch(62.1% 0.061 297)

HEX
#8A7FA7
OKLCH
oklch(62.1% 0.061 297)
RGB
rgb(138, 127, 167)
HSL
hsl(256deg 19% 58%)
Relative Luminance
Y = 0.2337

Using #8A7FA7 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 3.7:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.82:1
AA
OKLCH AA text-on-white fix: #786D94 (4.76:1)Open Checker →

Using #8A7FA7 as Button / Surface Fill

White ink (#FFFFFF) on #8A7FA7
Contrast ratio 3.7:1
AA Large
Dark ink (#0F172A) on #8A7FA7
Contrast ratio 4.82:1
AA

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