#9D59CE#9D59CE
#9D59CE is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.180 H 308.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D59CE |
|---|---|
| RGB | rgb(157, 89, 206) |
| HSL | hsl(275, 54%, 58%) |
| HSV | hsv(275, 57%, 81%) |
| CMYK | cmyk(23.8%, 56.8%, 0%, 19.2%) |
| CIE-LAB | lab(50.42, 48.83, -49.91) |
| CIE-LCH | lch(50.42, 69.83, 314.38°) |
| OKLab | oklab(59.33% 0.1126 -0.1404) |
| OKLCH | oklch(59.33% 0.18 308.7) |
| XYZ | xyz(28.6154, 18.7695, 60.4960) |
| Luminance | 0.1877 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.88
Lightish Purple
#A552E6
ΔE00 3.74
Deep Lavender
#8D5EB7
ΔE00 4.67
Mediumorchid
#BA55D3
ΔE00 5.48
Lighter Purple
#A55AF4
ΔE00 5.72
Purpley
#8756E4
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D59CE #8ACE59
analogous
#6259CE #9D59CE #CE59C4
triadic
#9D59CE #CE9D59 #59CE9D
tetradic
#9D59CE #CE6259 #8ACE59 #59C4CE
square
#9D59CE #CE6259 #8ACE59 #59C4CE
split-complementary
#9D59CE #C4CE59 #59CE62
monochromatic
#5E2785 #7F35B5 #9D59CE #B988DC #D5B8EA
Accessibility & contrast
On white
4.42
#9D59CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#9D59CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D59CE
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D59CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D59CE | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#966F8B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9d59ce; /* rgb */ color: rgb(157, 89, 206); /* oklch */ color: oklch(59.3% 0.180 308.7);
Tailwind
colors: {
custom: {
50: '#bd8bdd',
500: '#9d59ce',
950: '#000000',
},
}SCSS
$custom: #9d59ce; $custom-light: #bd8bdd; $custom-dark: #000000;
JSON
{
"hex": "#9d59ce",
"rgb": {
"r": 157,
"g": 89,
"b": 206
},
"hsl": {
"h": 274.872,
"s": 54.419,
"l": 57.843
},
"oklch": {
"l": 0.59326,
"c": 0.17995,
"h": 308.7
},
"luminance": 0.18769
}Semantic roles & 50–950 ramp
primary
#9D59CE
secondary
#BED9AA
accent
#DE4A88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83