#9B59E4#9B59E4
#9B59E4 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.204 H 302.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9B59E4 |
|---|---|
| RGB | rgb(155, 89, 228) |
| HSL | hsl(268, 72%, 62%) |
| HSV | hsv(268, 61%, 89%) |
| CMYK | cmyk(32%, 61%, 0%, 10.6%) |
| CIE-LAB | lab(51.51, 53.50, -60.66) |
| CIE-LCH | lch(51.51, 80.88, 311.41°) |
| OKLab | oklab(60.5% 0.1099 -0.1719) |
| OKLCH | oklch(60.5% 0.204 302.6) |
| XYZ | xyz(31.0903, 19.7147, 75.5511) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.08
Lighter Purple
#A55AF4
ΔE00 2.77
Purpley
#8756E4
ΔE00 3.91
Amethyst
#9B5FC0
ΔE00 6.14
Mediumpurple
#9370DB
ΔE00 6.27
Mediumorchid
#BA55D3
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B59E4 #A2E459
analogous
#595DE4 #9B59E4 #E059E4
triadic
#9B59E4 #E49B59 #59E49B
tetradic
#9B59E4 #E4595D #A2E459 #59E4E0
square
#9B59E4 #E4595D #A2E459 #59E4E0
split-complementary
#9B59E4 #E4E059 #5DE459
monochromatic
#5E1BA7 #7B24DB #9B59E4 #BB8EED #DAC2F5
Accessibility & contrast
On white
4.25
#9B59E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#9B59E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B59E4
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B59E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B59E4 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#307AE1
Tritanopia (blue-blind)
#8D7696
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9b59e4; /* rgb */ color: rgb(155, 89, 228); /* oklch */ color: oklch(60.5% 0.204 302.6);
Tailwind
colors: {
custom: {
50: '#bd8bed',
500: '#9b59e4',
950: '#000000',
},
}SCSS
$custom: #9b59e4; $custom-light: #bd8bed; $custom-dark: #000000;
JSON
{
"hex": "#9b59e4",
"rgb": {
"r": 155,
"g": 89,
"b": 228
},
"hsl": {
"h": 268.489,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.60501,
"c": 0.20406,
"h": 302.6
},
"luminance": 0.19715
}Semantic roles & 50–950 ramp
primary
#9B59E4
secondary
#CEE6B3
accent
#D41178
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84