#971F81#971F81
#971F81 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.185 H 336.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #971F81 |
|---|---|
| RGB | rgb(151, 31, 129) |
| HSL | hsl(311, 66%, 36%) |
| HSV | hsv(311, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 14.6%, 40.8%) |
| CIE-LAB | lab(36.26, 57.62, -26.58) |
| CIE-LCH | lch(36.26, 63.46, 335.24°) |
| OKLab | oklab(47.51% 0.1699 -0.0724) |
| OKLCH | oklch(47.51% 0.185 336.9) |
| XYZ | xyz(17.2153, 9.1459, 21.6233) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.31
Barney Purple
#A00498
ΔE00 4.42
Darkmagenta
#8B008B
ΔE00 5.28
Red Violet
#9E0168
ΔE00 6.03
Purple
#800080
ΔE00 6.46
Light Eggplant
#894585
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F81 #1F9735
analogous
#711F97 #971F81 #971F45
triadic
#971F81 #81971F #1F8197
tetradic
#971F81 #97711F #1F9735 #1F4597
square
#971F81 #97711F #1F9735 #1F4597
split-complementary
#971F81 #45971F #1F9771
monochromatic
#310A2A #641556 #971F81 #CA29AC #DC54C3
Accessibility & contrast
On white
7.42
#971F81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#971F81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F81
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F81 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#9F284F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971f81; /* rgb */ color: rgb(151, 31, 129); /* oklch */ color: oklch(47.5% 0.185 336.9);
Tailwind
colors: {
custom: {
50: '#b969a6',
500: '#971f81',
950: '#000000',
},
}SCSS
$custom: #971f81; $custom-light: #b969a6; $custom-dark: #000000;
JSON
{
"hex": "#971f81",
"rgb": {
"r": 151,
"g": 31,
"b": 129
},
"hsl": {
"h": 311,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47511,
"c": 0.18467,
"h": 336.9
},
"luminance": 0.09144
}Semantic roles & 50–950 ramp
primary
#971F81
secondary
#52BF66
accent
#E95E3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F