#971F82#971F82
#971F82 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.185 H 336.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #971F82 |
|---|---|
| RGB | rgb(151, 31, 130) |
| HSL | hsl(311, 66%, 36%) |
| HSV | hsv(311, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 13.9%, 40.8%) |
| CIE-LAB | lab(36.31, 57.77, -27.12) |
| CIE-LCH | lch(36.31, 63.82, 334.85°) |
| OKLab | oklab(47.56% 0.17 -0.0739) |
| OKLCH | oklch(47.56% 0.185 336.5) |
| XYZ | xyz(17.2821, 9.1726, 21.9751) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.14
Barney Purple
#A00498
ΔE00 4.23
Darkmagenta
#8B008B
ΔE00 5.14
Red Violet
#9E0168
ΔE00 6.22
Purple
#800080
ΔE00 6.37
Light Eggplant
#894585
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F82 #1F9734
analogous
#701F97 #971F82 #971F46
triadic
#971F82 #82971F #1F8297
tetradic
#971F82 #97701F #1F9734 #1F4697
square
#971F82 #97701F #1F9734 #1F4697
split-complementary
#971F82 #46971F #1F9770
monochromatic
#310A2B #641556 #971F82 #CA29AE #DC54C4
Accessibility & contrast
On white
7.41
#971F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#971F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F82
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F82 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#4D5C7F
Tritanopia (blue-blind)
#9F284F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971f82; /* rgb */ color: rgb(151, 31, 130); /* oklch */ color: oklch(47.6% 0.185 336.5);
Tailwind
colors: {
custom: {
50: '#b96aa6',
500: '#971f82',
950: '#000000',
},
}SCSS
$custom: #971f82; $custom-light: #b96aa6; $custom-dark: #000000;
JSON
{
"hex": "#971f82",
"rgb": {
"r": 151,
"g": 31,
"b": 130
},
"hsl": {
"h": 310.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47564,
"c": 0.18537,
"h": 336.5
},
"luminance": 0.09171
}Semantic roles & 50–950 ramp
primary
#971F82
secondary
#52BF65
accent
#E95D3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F