#9D58CD#9D58CD
#9D58CD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.180 H 309.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D58CD |
|---|---|
| RGB | rgb(157, 88, 205) |
| HSL | hsl(275, 54%, 57%) |
| HSV | hsv(275, 57%, 80%) |
| CMYK | cmyk(23.4%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(50.16, 49.13, -49.74) |
| CIE-LCH | lch(50.16, 69.91, 314.65°) |
| OKLab | oklab(59.12% 0.1139 -0.1399) |
| OKLCH | oklch(59.12% 0.18 309.1) |
| XYZ | xyz(28.4116, 18.5558, 59.8307) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.89
Lightish Purple
#A552E6
ΔE00 3.84
Deep Lavender
#8D5EB7
ΔE00 4.61
Mediumorchid
#BA55D3
ΔE00 5.50
Lighter Purple
#A55AF4
ΔE00 5.93
Purpley
#8756E4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D58CD #88CD58
analogous
#6358CD #9D58CD #CD58C2
triadic
#9D58CD #CD9D58 #58CD9D
tetradic
#9D58CD #CD6358 #88CD58 #58C2CD
square
#9D58CD #CD6358 #88CD58 #58C2CD
split-complementary
#9D58CD #C2CD58 #58CD63
monochromatic
#5E2783 #7F35B2 #9D58CD #B987DB #D4B6E9
Accessibility & contrast
On white
4.46
#9D58CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#9D58CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D58CD
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D58CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D58CD | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#966E8A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9d58cd; /* rgb */ color: rgb(157, 88, 205); /* oklch */ color: oklch(59.1% 0.180 309.1);
Tailwind
colors: {
custom: {
50: '#bd8add',
500: '#9d58cd',
950: '#000000',
},
}SCSS
$custom: #9d58cd; $custom-light: #bd8add; $custom-dark: #000000;
JSON
{
"hex": "#9d58cd",
"rgb": {
"r": 157,
"g": 88,
"b": 205
},
"hsl": {
"h": 275.385,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.59123,
"c": 0.18035,
"h": 309.1
},
"luminance": 0.18555
}Semantic roles & 50–950 ramp
primary
#9D58CD
secondary
#BCD8A9
accent
#DD4B87
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83