#9E59E9#9E59E9
#9E59E9 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.210 H 302.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E59E9 |
|---|---|
| RGB | rgb(158, 89, 233) |
| HSL | hsl(269, 77%, 63%) |
| HSV | hsv(269, 62%, 91%) |
| CMYK | cmyk(32.2%, 61.8%, 0%, 8.6%) |
| CIE-LAB | lab(52.17, 55.36, -62.40) |
| CIE-LCH | lch(52.17, 83.41, 311.58°) |
| OKLab | oklab(61.16% 0.1135 -0.177) |
| OKLCH | oklch(61.16% 0.21 302.7) |
| XYZ | xyz(32.3775, 20.2970, 79.2870) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.93
Lighter Purple
#A55AF4
ΔE00 1.93
Purpley
#8756E4
ΔE00 4.43
Mediumpurple
#9370DB
ΔE00 6.37
Amethyst
#9B5FC0
ΔE00 6.69
Mediumorchid
#BA55D3
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E59E9 #A4E959
analogous
#595CE9 #9E59E9 #E659E9
triadic
#9E59E9 #E99E59 #59E99E
tetradic
#9E59E9 #E9595C #A4E959 #59E9E6
square
#9E59E9 #E9595C #A4E959 #59E9E6
split-complementary
#9E59E9 #E9E659 #5CE959
monochromatic
#6117B0 #7E23E2 #9E59E9 #BE8FF0 #DDC5F7
Accessibility & contrast
On white
4.15
#9E59E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#9E59E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E59E9
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E59E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E59E9 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#8F7899
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9e59e9; /* rgb */ color: rgb(158, 89, 233); /* oklch */ color: oklch(61.2% 0.210 302.7);
Tailwind
colors: {
custom: {
50: '#bf8bf1',
500: '#9e59e9',
950: '#000000',
},
}SCSS
$custom: #9e59e9; $custom-light: #bf8bf1; $custom-dark: #000000;
JSON
{
"hex": "#9e59e9",
"rgb": {
"r": 158,
"g": 89,
"b": 233
},
"hsl": {
"h": 268.75,
"s": 76.596,
"l": 63.137
},
"oklch": {
"l": 0.61156,
"c": 0.21024,
"h": 302.7
},
"luminance": 0.20297
}Semantic roles & 50–950 ramp
primary
#9E59E9
secondary
#D0E9B5
accent
#D90D77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85