#9D2F95#9D2F95
#9D2F95 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.185 H 331.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2F95 |
|---|---|
| RGB | rgb(157, 47, 149) |
| HSL | hsl(304, 54%, 40%) |
| HSV | hsv(304, 70%, 62%) |
| CMYK | cmyk(0%, 70.1%, 5.1%, 38.4%) |
| CIE-LAB | lab(40.20, 56.85, -32.59) |
| CIE-LCH | lch(40.20, 65.53, 330.18°) |
| OKLab | oklab(50.88% 0.162 -0.0897) |
| OKLCH | oklch(50.88% 0.185 331) |
| XYZ | xyz(20.3459, 11.3726, 29.5515) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.71
Barney Purple
#A00498
ΔE00 3.73
Medium Purple
#9E43A2
ΔE00 4.23
Ugly Purple
#A442A0
ΔE00 4.29
Light Eggplant
#894585
ΔE00 5.94
Barney
#AC1DB8
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2F95 #2F9D37
analogous
#6E2F9D #9D2F95 #9D2F5E
triadic
#9D2F95 #959D2F #2F959D
tetradic
#9D2F95 #9D6E2F #2F9D37 #2F5E9D
square
#9D2F95 #9D6E2F #2F9D37 #2F5E9D
split-complementary
#9D2F95 #5E9D2F #2F9D6E
monochromatic
#3F133C #6E2168 #9D2F95 #C743BD #D572CD
Accessibility & contrast
On white
6.41
#9D2F95 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#9D2F95 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2F95
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2F95 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#506492
Tritanopia (blue-blind)
#A33B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9d2f95; /* rgb */ color: rgb(157, 47, 149); /* oklch */ color: oklch(50.9% 0.185 331.0);
Tailwind
colors: {
custom: {
50: '#bd72b4',
500: '#9d2f95',
950: '#000000',
},
}SCSS
$custom: #9d2f95; $custom-light: #bd72b4; $custom-dark: #000000;
JSON
{
"hex": "#9d2f95",
"rgb": {
"r": 157,
"g": 47,
"b": 149
},
"hsl": {
"h": 304.364,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.50879,
"c": 0.18515,
"h": 331
},
"luminance": 0.11371
}Semantic roles & 50–950 ramp
primary
#9D2F95
secondary
#6BBC71
accent
#DD554B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80