#9D59DC#9D59DC
#9D59DC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.2% C 0.196 H 305.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9D59DC |
|---|---|
| RGB | rgb(157, 89, 220) |
| HSL | hsl(271, 65%, 61%) |
| HSV | hsv(271, 60%, 86%) |
| CMYK | cmyk(28.6%, 59.5%, 0%, 13.7%) |
| CIE-LAB | lab(51.24, 52.06, -56.56) |
| CIE-LCH | lch(51.24, 76.87, 312.63°) |
| OKLab | oklab(60.2% 0.1127 -0.1598) |
| OKLCH | oklch(60.2% 0.196 305.2) |
| XYZ | xyz(30.3925, 19.4804, 69.8552) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.09
Lighter Purple
#A55AF4
ΔE00 3.62
Purpley
#8756E4
ΔE00 4.65
Amethyst
#9B5FC0
ΔE00 4.90
Mediumorchid
#BA55D3
ΔE00 6.12
Mediumpurple
#9370DB
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D59DC #98DC59
analogous
#5B59DC #9D59DC #DC59D9
triadic
#9D59DC #DC9D59 #59DC9D
tetradic
#9D59DC #DC5B59 #98DC59 #59D9DC
square
#9D59DC #DC5B59 #98DC59 #59D9DC
split-complementary
#9D59DC #D9DC59 #59DC5B
monochromatic
#60209A #7F2BCD #9D59DC #BB8CE7 #D9BEF1
Accessibility & contrast
On white
4.29
#9D59DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#9D59DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D59DC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D59DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D59DC | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1978E0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#927392
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9d59dc; /* rgb */ color: rgb(157, 89, 220); /* oklch */ color: oklch(60.2% 0.196 305.2);
Tailwind
colors: {
custom: {
50: '#be8be7',
500: '#9d59dc',
950: '#000000',
},
}SCSS
$custom: #9d59dc; $custom-light: #be8be7; $custom-dark: #000000;
JSON
{
"hex": "#9d59dc",
"rgb": {
"r": 157,
"g": 89,
"b": 220
},
"hsl": {
"h": 271.145,
"s": 65.174,
"l": 60.588
},
"oklch": {
"l": 0.60198,
"c": 0.19557,
"h": 305.2
},
"luminance": 0.1948
}Semantic roles & 50–950 ramp
primary
#9D59DC
secondary
#C7E1AF
accent
#CD186F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84