#8957F6#8957F6
#8957F6 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.225 H 292.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8957F6 |
|---|---|
| RGB | rgb(137, 87, 246) |
| HSL | hsl(259, 90%, 65%) |
| HSV | hsv(259, 65%, 96%) |
| CMYK | cmyk(44.3%, 64.6%, 0%, 3.5%) |
| CIE-LAB | lab(50.44, 55.40, -72.59) |
| CIE-LCH | lch(50.44, 91.31, 307.35°) |
| OKLab | oklab(59.67% 0.087 -0.2076) |
| OKLCH | oklch(59.67% 0.225 292.7) |
| XYZ | xyz(30.3547, 18.7876, 89.1979) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.54
Mediumslateblue
#7B68EE
ΔE00 5.02
Lighter Purple
#A55AF4
ΔE00 5.10
Lightish Purple
#A552E6
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 7.14
Slate Blue
#6A5ACD
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8957F6 #C4F657
analogous
#5774F6 #8957F6 #D957F6
triadic
#8957F6 #F68957 #57F689
tetradic
#8957F6 #F65774 #C4F657 #57F6D9
square
#8957F6 #F65774 #C4F657 #57F6D9
split-complementary
#8957F6 #F6D957 #74F657
monochromatic
#460BC8 #601DF3 #8957F6 #B291F9 #DBCBFC
Accessibility & contrast
On white
4.41
#8957F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#8957F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8957F6
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8957F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8957F6 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#697D9F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8957f6; /* rgb */ color: rgb(137, 87, 246); /* oklch */ color: oklch(59.7% 0.225 292.7);
Tailwind
colors: {
custom: {
50: '#b389fa',
500: '#8957f6',
950: '#000000',
},
}SCSS
$custom: #8957f6; $custom-light: #b389fa; $custom-dark: #000000;
JSON
{
"hex": "#8957f6",
"rgb": {
"r": 137,
"g": 87,
"b": 246
},
"hsl": {
"h": 258.868,
"s": 89.831,
"l": 65.294
},
"oklch": {
"l": 0.59672,
"c": 0.22508,
"h": 292.7
},
"luminance": 0.18789
}Semantic roles & 50–950 ramp
primary
#8957F6
secondary
#DEEFBA
accent
#E6009D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85