#9A59BF#9A59BF
#9A59BF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.162 H 311.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9A59BF |
|---|---|
| RGB | rgb(154, 89, 191) |
| HSL | hsl(278, 44%, 55%) |
| HSV | hsv(278, 53%, 75%) |
| CMYK | cmyk(19.4%, 53.4%, 0%, 25.1%) |
| CIE-LAB | lab(49.22, 44.68, -43.20) |
| CIE-LCH | lch(49.22, 62.15, 315.97°) |
| OKLab | oklab(58.1% 0.108 -0.1208) |
| OKLCH | oklch(58.1% 0.162 311.8) |
| XYZ | xyz(26.3011, 17.7769, 51.3259) |
| Luminance | 0.1778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.68
Deep Lavender
#8D5EB7
ΔE00 3.04
Lightish Purple
#A552E6
ΔE00 6.16
Deep Lilac
#966EBD
ΔE00 6.24
Mediumorchid
#BA55D3
ΔE00 6.27
Purply
#983FB2
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A59BF #7EBF59
analogous
#6759BF #9A59BF #BF59B1
triadic
#9A59BF #BF9A59 #59BF9A
tetradic
#9A59BF #BF6759 #7EBF59 #59B1BF
square
#9A59BF #BF6759 #7EBF59 #59B1BF
split-complementary
#9A59BF #B1BF59 #59BF67
monochromatic
#582C72 #7B3D9E #9A59BF #B585D0 #D0B1E1
Accessibility & contrast
On white
4.61
#9A59BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#9A59BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9A59BF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A59BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A59BF | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#966A84
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9a59bf; /* rgb */ color: rgb(154, 89, 191); /* oklch */ color: oklch(58.1% 0.162 311.8);
Tailwind
colors: {
custom: {
50: '#ba8ad3',
500: '#9a59bf',
950: '#000000',
},
}SCSS
$custom: #9a59bf; $custom-light: #ba8ad3; $custom-dark: #000000;
JSON
{
"hex": "#9a59bf",
"rgb": {
"r": 154,
"g": 89,
"b": 191
},
"hsl": {
"h": 278.235,
"s": 44.348,
"l": 54.902
},
"oklch": {
"l": 0.58102,
"c": 0.16209,
"h": 311.8
},
"luminance": 0.17776
}Semantic roles & 50–950 ramp
primary
#9A59BF
secondary
#B4CFA4
accent
#D45482
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83