#9D59CF#9D59CF
#9D59CF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.181 H 308.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9D59CF |
|---|---|
| RGB | rgb(157, 89, 207) |
| HSL | hsl(275, 55%, 58%) |
| HSV | hsv(275, 57%, 81%) |
| CMYK | cmyk(24.2%, 57%, 0%, 18.8%) |
| CIE-LAB | lab(50.47, 49.06, -50.39) |
| CIE-LCH | lch(50.47, 70.33, 314.24°) |
| OKLab | oklab(59.39% 0.1126 -0.1418) |
| OKLCH | oklch(59.39% 0.181 308.5) |
| XYZ | xyz(28.7373, 18.8183, 61.1378) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.02
Lightish Purple
#A552E6
ΔE00 3.60
Deep Lavender
#8D5EB7
ΔE00 4.78
Mediumorchid
#BA55D3
ΔE00 5.50
Lighter Purple
#A55AF4
ΔE00 5.56
Purpley
#8756E4
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D59CF #8BCF59
analogous
#6259CF #9D59CF #CF59C6
triadic
#9D59CF #CF9D59 #59CF9D
tetradic
#9D59CF #CF6259 #8BCF59 #59C6CF
square
#9D59CF #CF6259 #8BCF59 #59C6CF
split-complementary
#9D59CF #C6CF59 #59CF62
monochromatic
#5E2787 #7F35B6 #9D59CF #B988DD #D5B8EA
Accessibility & contrast
On white
4.41
#9D59CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#9D59CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D59CF
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D59CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D59CF | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#966F8C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9d59cf; /* rgb */ color: rgb(157, 89, 207); /* oklch */ color: oklch(59.4% 0.181 308.5);
Tailwind
colors: {
custom: {
50: '#bd8bde',
500: '#9d59cf',
950: '#000000',
},
}SCSS
$custom: #9d59cf; $custom-light: #bd8bde; $custom-dark: #000000;
JSON
{
"hex": "#9d59cf",
"rgb": {
"r": 157,
"g": 89,
"b": 207
},
"hsl": {
"h": 274.576,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.59387,
"c": 0.18106,
"h": 308.5
},
"luminance": 0.18818
}Semantic roles & 50–950 ramp
primary
#9D59CF
secondary
#BED9AA
accent
#DE4989
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83