#9D2D8E#9D2D8E
#9D2D8E is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.182 H 333.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2D8E |
|---|---|
| RGB | rgb(157, 45, 142) |
| HSL | hsl(308, 55%, 40%) |
| HSV | hsv(308, 71%, 62%) |
| CMYK | cmyk(0%, 71.3%, 9.6%, 38.4%) |
| CIE-LAB | lab(39.58, 56.46, -29.31) |
| CIE-LCH | lch(39.58, 63.62, 332.57°) |
| OKLab | oklab(50.31% 0.1636 -0.0802) |
| OKLCH | oklch(50.31% 0.182 333.9) |
| XYZ | xyz(19.7256, 10.9995, 26.6702) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.78
Barney Purple
#A00498
ΔE00 4.03
Ugly Purple
#A442A0
ΔE00 5.06
Medium Purple
#9E43A2
ΔE00 5.24
Light Eggplant
#894585
ΔE00 5.70
Darkmagenta
#8B008B
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2D8E #2D9D3C
analogous
#742D9D #9D2D8E #9D2D56
triadic
#9D2D8E #8E9D2D #2D8E9D
tetradic
#9D2D8E #9D742D #2D9D3C #2D569D
square
#9D2D8E #9D742D #2D9D3C #2D569D
split-complementary
#9D2D8E #569D2D #2D9D74
monochromatic
#3E1238 #6D1F63 #9D2D8E #C83FB6 #D66FC8
Accessibility & contrast
On white
6.56
#9D2D8E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#9D2D8E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2D8E
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2D8E | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A4375A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9d2d8e; /* rgb */ color: rgb(157, 45, 142); /* oklch */ color: oklch(50.3% 0.182 333.9);
Tailwind
colors: {
custom: {
50: '#bd70af',
500: '#9d2d8e',
950: '#000000',
},
}SCSS
$custom: #9d2d8e; $custom-light: #bd70af; $custom-dark: #000000;
JSON
{
"hex": "#9d2d8e",
"rgb": {
"r": 157,
"g": 45,
"b": 142
},
"hsl": {
"h": 308.036,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.50313,
"c": 0.18221,
"h": 333.9
},
"luminance": 0.10998
}Semantic roles & 50–950 ramp
primary
#9D2D8E
secondary
#69BD74
accent
#DF5D49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F