#9E59DC#9E59DC
#9E59DC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.3% C 0.196 H 305.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9E59DC |
|---|---|
| RGB | rgb(158, 89, 220) |
| HSL | hsl(272, 65%, 61%) |
| HSV | hsv(272, 60%, 86%) |
| CMYK | cmyk(28.2%, 59.5%, 0%, 13.7%) |
| CIE-LAB | lab(51.36, 52.30, -56.36) |
| CIE-LCH | lch(51.36, 76.89, 312.86°) |
| OKLab | oklab(60.31% 0.114 -0.1592) |
| OKLCH | oklch(60.31% 0.196 305.6) |
| XYZ | xyz(30.5884, 19.5814, 69.8644) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.01
Lighter Purple
#A55AF4
ΔE00 3.58
Purpley
#8756E4
ΔE00 4.84
Amethyst
#9B5FC0
ΔE00 4.86
Mediumorchid
#BA55D3
ΔE00 5.93
Mediumpurple
#9370DB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E59DC #97DC59
analogous
#5C59DC #9E59DC #DC59D8
triadic
#9E59DC #DC9E59 #59DC9E
tetradic
#9E59DC #DC5C59 #97DC59 #59D8DC
square
#9E59DC #DC5C59 #97DC59 #59D8DC
split-complementary
#9E59DC #D8DC59 #59DC5C
monochromatic
#61209A #802BCD #9E59DC #BC8CE7 #D9BEF1
Accessibility & contrast
On white
4.27
#9E59DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#9E59DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E59DC
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E59DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E59DC | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A78E0
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#937392
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9e59dc; /* rgb */ color: rgb(158, 89, 220); /* oklch */ color: oklch(60.3% 0.196 305.6);
Tailwind
colors: {
custom: {
50: '#be8be7',
500: '#9e59dc',
950: '#000000',
},
}SCSS
$custom: #9e59dc; $custom-light: #be8be7; $custom-dark: #000000;
JSON
{
"hex": "#9e59dc",
"rgb": {
"r": 158,
"g": 89,
"b": 220
},
"hsl": {
"h": 271.603,
"s": 65.174,
"l": 60.588
},
"oklch": {
"l": 0.60308,
"c": 0.19582,
"h": 305.6
},
"luminance": 0.19581
}Semantic roles & 50–950 ramp
primary
#9E59DC
secondary
#C7E1AF
accent
#CD186E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84