#9D57DC#9D57DC
#9D57DC is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.9% C 0.198 H 305.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9D57DC |
|---|---|
| RGB | rgb(157, 87, 220) |
| HSL | hsl(272, 66%, 60%) |
| HSV | hsv(272, 60%, 86%) |
| CMYK | cmyk(28.6%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(50.86, 53.08, -57.17) |
| CIE-LCH | lch(50.86, 78.01, 312.88°) |
| OKLab | oklab(59.92% 0.1151 -0.1616) |
| OKLCH | oklch(59.92% 0.198 305.5) |
| XYZ | xyz(30.2283, 19.1520, 69.8005) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.90
Lighter Purple
#A55AF4
ΔE00 3.79
Purpley
#8756E4
ΔE00 4.53
Amethyst
#9B5FC0
ΔE00 5.04
Mediumorchid
#BA55D3
ΔE00 6.17
Deep Lavender
#8D5EB7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D57DC #96DC57
analogous
#5B57DC #9D57DC #DC57D8
triadic
#9D57DC #DC9D57 #57DC9D
tetradic
#9D57DC #DC5B57 #96DC57 #57D8DC
square
#9D57DC #DC5B57 #96DC57 #57D8DC
split-complementary
#9D57DC #D8DC57 #57DC5B
monochromatic
#5F2099 #7F2ACB #9D57DC #BB8AE7 #D8BCF1
Accessibility & contrast
On white
4.35
#9D57DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#9D57DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D57DC
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D57DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D57DC | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1077E0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#927291
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9d57dc; /* rgb */ color: rgb(157, 87, 220); /* oklch */ color: oklch(59.9% 0.198 305.5);
Tailwind
colors: {
custom: {
50: '#be8ae8',
500: '#9d57dc',
950: '#000000',
},
}SCSS
$custom: #9d57dc; $custom-light: #be8ae8; $custom-dark: #000000;
JSON
{
"hex": "#9d57dc",
"rgb": {
"r": 157,
"g": 87,
"b": 220
},
"hsl": {
"h": 271.579,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.59921,
"c": 0.19841,
"h": 305.5
},
"luminance": 0.19152
}Semantic roles & 50–950 ramp
primary
#9D57DC
secondary
#C6E1AE
accent
#CD186E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84