#8958D6#8958D6
#8958D6 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.186 H 298.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8958D6 |
|---|---|
| RGB | rgb(137, 88, 214) |
| HSL | hsl(263, 61%, 59%) |
| HSV | hsv(263, 59%, 84%) |
| CMYK | cmyk(36%, 58.9%, 0%, 16.1%) |
| CIE-LAB | lab(48.45, 46.52, -57.75) |
| CIE-LCH | lch(48.45, 74.16, 308.85°) |
| OKLab | oklab(57.54% 0.0882 -0.164) |
| OKLCH | oklch(57.54% 0.186 298.3) |
| XYZ | xyz(25.9408, 17.1525, 65.5494) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.15
Lightish Purple
#A552E6
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 5.39
Deep Lavender
#8D5EB7
ΔE00 5.92
Slate Blue
#6A5ACD
ΔE00 5.99
Amethyst
#9B5FC0
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8958D6 #A5D658
analogous
#5866D6 #8958D6 #C858D6
triadic
#8958D6 #D68958 #58D689
tetradic
#8958D6 #D65866 #A5D658 #58D6C8
square
#8958D6 #D65866 #A5D658 #58D6C8
split-complementary
#8958D6 #D6C858 #66D658
monochromatic
#4E2390 #682FC1 #8958D6 #AC89E2 #CEBAEE
Accessibility & contrast
On white
4.74
#8958D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#8958D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8958D6
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8958D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8958D6 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A73DA
Deuteranopia (green-blind)
#2972D3
Tritanopia (blue-blind)
#78738F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8958d6; /* rgb */ color: rgb(137, 88, 214); /* oklch */ color: oklch(57.5% 0.186 298.3);
Tailwind
colors: {
custom: {
50: '#b089e3',
500: '#8958d6',
950: '#000000',
},
}SCSS
$custom: #8958d6; $custom-light: #b089e3; $custom-dark: #000000;
JSON
{
"hex": "#8958d6",
"rgb": {
"r": 137,
"g": 88,
"b": 214
},
"hsl": {
"h": 263.333,
"s": 60.577,
"l": 59.216
},
"oklch": {
"l": 0.57539,
"c": 0.18616,
"h": 298.3
},
"luminance": 0.17153
}Semantic roles & 50–950 ramp
primary
#8958D6
secondary
#CADEAC
accent
#E444A6
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84