#9B59E6#9B59E6
#9B59E6 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.206 H 302.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9B59E6 |
|---|---|
| RGB | rgb(155, 89, 230) |
| HSL | hsl(268, 74%, 63%) |
| HSV | hsv(268, 61%, 90%) |
| CMYK | cmyk(32.6%, 61.3%, 0%, 9.8%) |
| CIE-LAB | lab(51.64, 53.98, -61.58) |
| CIE-LCH | lch(51.64, 81.89, 311.24°) |
| OKLab | oklab(60.63% 0.1098 -0.1747) |
| OKLCH | oklch(60.63% 0.206 302.2) |
| XYZ | xyz(31.3695, 19.8264, 77.0218) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.14
Lighter Purple
#A55AF4
ΔE00 2.56
Purpley
#8756E4
ΔE00 3.88
Mediumpurple
#9370DB
ΔE00 6.28
Amethyst
#9B5FC0
ΔE00 6.42
Mediumorchid
#BA55D3
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B59E6 #A4E659
analogous
#595EE6 #9B59E6 #E159E6
triadic
#9B59E6 #E69B59 #59E69B
tetradic
#9B59E6 #E6595E #A4E659 #59E6E1
square
#9B59E6 #E6595E #A4E659 #59E6E1
split-complementary
#9B59E6 #E6E159 #5EE659
monochromatic
#5E1AAB #7B24DE #9B59E6 #BB8EEE #DBC3F6
Accessibility & contrast
On white
4.23
#9B59E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#9B59E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B59E6
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B59E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B59E6 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#2D7BE3
Tritanopia (blue-blind)
#8C7797
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9b59e6; /* rgb */ color: rgb(155, 89, 230); /* oklch */ color: oklch(60.6% 0.206 302.2);
Tailwind
colors: {
custom: {
50: '#bd8bef',
500: '#9b59e6',
950: '#000000',
},
}SCSS
$custom: #9b59e6; $custom-light: #bd8bef; $custom-dark: #000000;
JSON
{
"hex": "#9b59e6",
"rgb": {
"r": 155,
"g": 89,
"b": 230
},
"hsl": {
"h": 268.085,
"s": 73.822,
"l": 62.549
},
"oklch": {
"l": 0.60634,
"c": 0.2063,
"h": 302.2
},
"luminance": 0.19826
}Semantic roles & 50–950 ramp
primary
#9B59E6
secondary
#CFE7B4
accent
#D61079
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84