#9D57CD#9D57CD
#9D57CD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.0% C 0.182 H 309.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9D57CD |
|---|---|
| RGB | rgb(157, 87, 205) |
| HSL | hsl(276, 54%, 57%) |
| HSV | hsv(276, 58%, 80%) |
| CMYK | cmyk(23.4%, 57.6%, 0%, 19.6%) |
| CIE-LAB | lab(49.97, 49.65, -50.05) |
| CIE-LCH | lch(49.97, 70.50, 314.77°) |
| OKLab | oklab(58.98% 0.1151 -0.1408) |
| OKLCH | oklch(58.98% 0.182 309.3) |
| XYZ | xyz(28.3301, 18.3927, 59.8035) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.05
Lightish Purple
#A552E6
ΔE00 3.81
Deep Lavender
#8D5EB7
ΔE00 4.68
Mediumorchid
#BA55D3
ΔE00 5.55
Lighter Purple
#A55AF4
ΔE00 5.99
Purpley
#8756E4
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D57CD #87CD57
analogous
#6257CD #9D57CD #CD57C2
triadic
#9D57CD #CD9D57 #57CD9D
tetradic
#9D57CD #CD6257 #87CD57 #57C2CD
square
#9D57CD #CD6257 #87CD57 #57C2CD
split-complementary
#9D57CD #C2CD57 #57CD62
monochromatic
#5D2783 #7F35B2 #9D57CD #B986DB #D4B5E9
Accessibility & contrast
On white
4.49
#9D57CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#9D57CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D57CD
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D57CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D57CD | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 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)
#2D74D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#966D8A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9d57cd; /* rgb */ color: rgb(157, 87, 205); /* oklch */ color: oklch(59.0% 0.182 309.3);
Tailwind
colors: {
custom: {
50: '#bd89dd',
500: '#9d57cd',
950: '#000000',
},
}SCSS
$custom: #9d57cd; $custom-light: #bd89dd; $custom-dark: #000000;
JSON
{
"hex": "#9d57cd",
"rgb": {
"r": 157,
"g": 87,
"b": 205
},
"hsl": {
"h": 275.593,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.5898,
"c": 0.18185,
"h": 309.3
},
"luminance": 0.18392
}Semantic roles & 50–950 ramp
primary
#9D57CD
secondary
#BBD8A8
accent
#DD4A86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83