#971E82#971E82
#971E82 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.186 H 336.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #971E82 |
|---|---|
| RGB | rgb(151, 30, 130) |
| HSL | hsl(310, 67%, 35%) |
| HSV | hsv(310, 80%, 59%) |
| CMYK | cmyk(0%, 80.1%, 13.9%, 40.8%) |
| CIE-LAB | lab(36.22, 58.05, -27.27) |
| CIE-LCH | lch(36.22, 64.14, 334.84°) |
| OKLab | oklab(47.49% 0.1708 -0.0744) |
| OKLCH | oklch(47.49% 0.186 336.5) |
| XYZ | xyz(17.2564, 9.1212, 21.9665) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.19
Barney Purple
#A00498
ΔE00 4.18
Darkmagenta
#8B008B
ΔE00 5.05
Red Violet
#9E0168
ΔE00 6.22
Purple
#800080
ΔE00 6.28
Darkish Purple
#751973
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971E82 #1E9733
analogous
#6F1E97 #971E82 #971E46
triadic
#971E82 #82971E #1E8297
tetradic
#971E82 #976F1E #1E9733 #1E4697
square
#971E82 #976F1E #1E9733 #1E4697
split-complementary
#971E82 #46971E #1E976F
monochromatic
#310A2A #641456 #971E82 #CA28AE #DD53C5
Accessibility & contrast
On white
7.44
#971E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#971E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971E82
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971E82 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#4D5C7F
Tritanopia (blue-blind)
#9F284F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971e82; /* rgb */ color: rgb(151, 30, 130); /* oklch */ color: oklch(47.5% 0.186 336.5);
Tailwind
colors: {
custom: {
50: '#b969a6',
500: '#971e82',
950: '#000000',
},
}SCSS
$custom: #971e82; $custom-light: #b969a6; $custom-dark: #000000;
JSON
{
"hex": "#971e82",
"rgb": {
"r": 151,
"g": 30,
"b": 130
},
"hsl": {
"h": 310.413,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.47494,
"c": 0.18631,
"h": 336.5
},
"luminance": 0.0912
}Semantic roles & 50–950 ramp
primary
#971E82
secondary
#51C064
accent
#EA5C3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F