#9D2DCD#9D2DCD
#9D2DCD is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.234 H 313.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2DCD |
|---|---|
| RGB | rgb(157, 45, 205) |
| HSL | hsl(282, 64%, 49%) |
| HSV | hsv(282, 78%, 80%) |
| CMYK | cmyk(23.4%, 78%, 0%, 19.6%) |
| CIE-LAB | lab(43.44, 67.79, -60.55) |
| CIE-LCH | lch(43.44, 90.90, 318.23°) |
| OKLab | oklab(54.29% 0.1597 -0.1713) |
| OKLCH | oklch(54.29% 0.234 313) |
| XYZ | xyz(25.8605, 13.4535, 58.9803) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.76
Vibrant Purple
#AD03DE
ΔE00 3.15
Darkviolet
#9400D3
ΔE00 4.29
Violet (survey)
#9A0EEA
ΔE00 4.30
Blueviolet
#8A2BE2
ΔE00 4.69
Purply
#983FB2
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2DCD #5DCD2D
analogous
#4D2DCD #9D2DCD #CD2DAD
triadic
#9D2DCD #CD9D2D #2DCD9D
tetradic
#9D2DCD #CD4D2D #5DCD2D #2DADCD
square
#9D2DCD #CD4D2D #5DCD2D #2DADCD
split-complementary
#9D2DCD #ADCD2D #2DCD4D
monochromatic
#501769 #77229B #9D2DCD #B55CDB #CC8EE6
Accessibility & contrast
On white
5.69
#9D2DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#9D2DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2DCD
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2DCD | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#1569CA
Tritanopia (blue-blind)
#98547D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9d2dcd; /* rgb */ color: rgb(157, 45, 205); /* oklch */ color: oklch(54.3% 0.234 313.0);
Tailwind
colors: {
custom: {
50: '#bf73dd',
500: '#9d2dcd',
950: '#000000',
},
}SCSS
$custom: #9d2dcd; $custom-light: #bf73dd; $custom-dark: #000000;
JSON
{
"hex": "#9d2dcd",
"rgb": {
"r": 157,
"g": 45,
"b": 205
},
"hsl": {
"h": 282,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.54294,
"c": 0.23422,
"h": 313
},
"luminance": 0.13453
}Semantic roles & 50–950 ramp
primary
#9D2DCD
secondary
#9CD185
accent
#E74173
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83