#9B59CE#9B59CE
#9B59CE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.179 H 307.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9B59CE |
|---|---|
| RGB | rgb(155, 89, 206) |
| HSL | hsl(274, 54%, 58%) |
| HSV | hsv(274, 57%, 81%) |
| CMYK | cmyk(24.8%, 56.8%, 0%, 19.2%) |
| CIE-LAB | lab(50.18, 48.34, -50.30) |
| CIE-LCH | lch(50.18, 69.76, 313.86°) |
| OKLab | oklab(59.1% 0.1101 -0.1416) |
| OKLCH | oklch(59.1% 0.179 307.9) |
| XYZ | xyz(28.2283, 18.5699, 60.4778) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.00
Lightish Purple
#A552E6
ΔE00 3.80
Deep Lavender
#8D5EB7
ΔE00 4.50
Purpley
#8756E4
ΔE00 5.69
Lighter Purple
#A55AF4
ΔE00 5.75
Mediumorchid
#BA55D3
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B59CE #8CCE59
analogous
#6059CE #9B59CE #CE59C7
triadic
#9B59CE #CE9B59 #59CE9B
tetradic
#9B59CE #CE6059 #8CCE59 #59C7CE
square
#9B59CE #CE6059 #8CCE59 #59C7CE
split-complementary
#9B59CE #C7CE59 #59CE60
monochromatic
#5C2785 #7D35B5 #9B59CE #B788DC #D4B8EA
Accessibility & contrast
On white
4.45
#9B59CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#9B59CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B59CE
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B59CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B59CE | 1.00 | 4.45 | 4.71 | 4.71 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#936F8B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9b59ce; /* rgb */ color: rgb(155, 89, 206); /* oklch */ color: oklch(59.1% 0.179 307.9);
Tailwind
colors: {
custom: {
50: '#bc8bdd',
500: '#9b59ce',
950: '#000000',
},
}SCSS
$custom: #9b59ce; $custom-light: #bc8bdd; $custom-dark: #000000;
JSON
{
"hex": "#9b59ce",
"rgb": {
"r": 155,
"g": 89,
"b": 206
},
"hsl": {
"h": 273.846,
"s": 54.419,
"l": 57.843
},
"oklch": {
"l": 0.59101,
"c": 0.17932,
"h": 307.9
},
"luminance": 0.1857
}Semantic roles & 50–950 ramp
primary
#9B59CE
secondary
#BED9AA
accent
#DE4A8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83