#9E58D2#9E58D2
#9E58D2 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.186 H 308.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E58D2 |
|---|---|
| RGB | rgb(158, 88, 210) |
| HSL | hsl(274, 58%, 58%) |
| HSV | hsv(274, 58%, 82%) |
| CMYK | cmyk(24.8%, 58.1%, 0%, 17.6%) |
| CIE-LAB | lab(50.57, 50.51, -51.94) |
| CIE-LCH | lch(50.57, 72.45, 314.20°) |
| OKLab | oklab(59.54% 0.1152 -0.1463) |
| OKLCH | oklch(59.54% 0.186 308.2) |
| XYZ | xyz(29.2208, 18.9021, 63.0694) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.09
Amethyst
#9B5FC0
ΔE00 3.52
Lighter Purple
#A55AF4
ΔE00 5.13
Deep Lavender
#8D5EB7
ΔE00 5.26
Mediumorchid
#BA55D3
ΔE00 5.42
Purpley
#8756E4
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E58D2 #8CD258
analogous
#6158D2 #9E58D2 #D258C9
triadic
#9E58D2 #D29E58 #58D29E
tetradic
#9E58D2 #D26158 #8CD258 #58C9D2
square
#9E58D2 #D26158 #8CD258 #58C9D2
split-complementary
#9E58D2 #C9D258 #58D261
monochromatic
#5F258A #8032BB #9E58D2 #BA88DF #D6B8EC
Accessibility & contrast
On white
4.39
#9E58D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#9E58D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E58D2
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E58D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E58D2 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#966F8D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9e58d2; /* rgb */ color: rgb(158, 88, 210); /* oklch */ color: oklch(59.5% 0.186 308.2);
Tailwind
colors: {
custom: {
50: '#be8ae0',
500: '#9e58d2',
950: '#000000',
},
}SCSS
$custom: #9e58d2; $custom-light: #be8ae0; $custom-dark: #000000;
JSON
{
"hex": "#9e58d2",
"rgb": {
"r": 158,
"g": 88,
"b": 210
},
"hsl": {
"h": 274.426,
"s": 57.547,
"l": 58.431
},
"oklch": {
"l": 0.59541,
"c": 0.1862,
"h": 308.2
},
"luminance": 0.18902
}Semantic roles & 50–950 ramp
primary
#9E58D2
secondary
#BFDBAB
accent
#E14789
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83