#9D2D9F#9D2D9F
#9D2D9F is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.195 H 327.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2D9F |
|---|---|
| RGB | rgb(157, 45, 159) |
| HSL | hsl(299, 56%, 40%) |
| HSV | hsv(299, 72%, 62%) |
| CMYK | cmyk(1.3%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(40.49, 59.26, -38.17) |
| CIE-LCH | lch(40.49, 70.49, 327.21°) |
| OKLab | oklab(51.26% 0.1644 -0.1058) |
| OKLCH | oklch(51.26% 0.195 327.2) |
| XYZ | xyz(21.1007, 11.5495, 33.9121) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.90
Barney Purple
#A00498
ΔE00 3.50
Medium Purple
#9E43A2
ΔE00 4.03
Barney
#AC1DB8
ΔE00 4.26
Ugly Purple
#A442A0
ΔE00 4.51
Purply
#983FB2
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2D9F #2F9F2D
analogous
#642D9F #9D2D9F #9F2D68
triadic
#9D2D9F #9F9D2D #2D9F9D
tetradic
#9D2D9F #9F642D #2F9F2D #2D689F
square
#9D2D9F #9F642D #2F9F2D #2D689F
split-complementary
#9D2D9F #689F2D #2D9F64
monochromatic
#3F1240 #6E206F #9D2D9F #C740C9 #D570D6
Accessibility & contrast
On white
6.35
#9D2D9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#9D2D9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2D9F
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2D9F | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#A23F63
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9d2d9f; /* rgb */ color: rgb(157, 45, 159); /* oklch */ color: oklch(51.3% 0.195 327.2);
Tailwind
colors: {
custom: {
50: '#bd71bc',
500: '#9d2d9f',
950: '#000000',
},
}SCSS
$custom: #9d2d9f; $custom-light: #bd71bc; $custom-dark: #000000;
JSON
{
"hex": "#9d2d9f",
"rgb": {
"r": 157,
"g": 45,
"b": 159
},
"hsl": {
"h": 298.947,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.51264,
"c": 0.19548,
"h": 327.2
},
"luminance": 0.11548
}Semantic roles & 50–950 ramp
primary
#9D2D9F
secondary
#6BBE6A
accent
#DF494B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81