#9A59CD#9A59CD
#9A59CD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.178 H 307.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9A59CD |
|---|---|
| RGB | rgb(154, 89, 205) |
| HSL | hsl(274, 54%, 58%) |
| HSV | hsv(274, 57%, 80%) |
| CMYK | cmyk(24.9%, 56.6%, 0%, 19.6%) |
| CIE-LAB | lab(50.01, 47.85, -50.01) |
| CIE-LCH | lch(50.01, 69.22, 313.74°) |
| OKLab | oklab(58.93% 0.1088 -0.1407) |
| OKLCH | oklch(58.93% 0.178 307.7) |
| XYZ | xyz(27.9160, 18.4229, 59.8311) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.94
Lightish Purple
#A552E6
ΔE00 3.98
Deep Lavender
#8D5EB7
ΔE00 4.31
Purpley
#8756E4
ΔE00 5.66
Lighter Purple
#A55AF4
ΔE00 5.93
Mediumorchid
#BA55D3
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A59CD #8CCD59
analogous
#6059CD #9A59CD #CD59C6
triadic
#9A59CD #CD9A59 #59CD9A
tetradic
#9A59CD #CD6059 #8CCD59 #59C6CD
square
#9A59CD #CD6059 #8CCD59 #59C6CD
split-complementary
#9A59CD #C6CD59 #59CD60
monochromatic
#5B2884 #7C36B3 #9A59CD #B788DB #D3B7E9
Accessibility & contrast
On white
4.48
#9A59CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#9A59CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A59CD
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A59CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A59CD | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#4878CA
Tritanopia (blue-blind)
#926F8A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9a59cd; /* rgb */ color: rgb(154, 89, 205); /* oklch */ color: oklch(58.9% 0.178 307.7);
Tailwind
colors: {
custom: {
50: '#bb8add',
500: '#9a59cd',
950: '#000000',
},
}SCSS
$custom: #9a59cd; $custom-light: #bb8add; $custom-dark: #000000;
JSON
{
"hex": "#9a59cd",
"rgb": {
"r": 154,
"g": 89,
"b": 205
},
"hsl": {
"h": 273.621,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.58928,
"c": 0.17789,
"h": 307.7
},
"luminance": 0.18423
}Semantic roles & 50–950 ramp
primary
#9A59CD
secondary
#BED8AA
accent
#DD4B8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83