#971C82#971C82
#971C82 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.4% C 0.188 H 336.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #971C82 |
|---|---|
| RGB | rgb(151, 28, 130) |
| HSL | hsl(310, 69%, 35%) |
| HSV | hsv(310, 81%, 59%) |
| CMYK | cmyk(0%, 81.5%, 13.9%, 40.8%) |
| CIE-LAB | lab(36.03, 58.59, -27.57) |
| CIE-LCH | lch(36.03, 64.75, 334.80°) |
| OKLab | oklab(47.36% 0.1724 -0.0752) |
| OKLCH | oklch(47.36% 0.188 336.4) |
| XYZ | xyz(17.2073, 9.0232, 21.9502) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.30
Barney Purple
#A00498
ΔE00 4.10
Darkmagenta
#8B008B
ΔE00 4.88
Purple
#800080
ΔE00 6.12
Red Violet
#9E0168
ΔE00 6.23
Darkish Purple
#751973
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971C82 #1C9731
analogous
#6F1C97 #971C82 #971C44
triadic
#971C82 #82971C #1C8297
tetradic
#971C82 #976F1C #1C9731 #1C4497
square
#971C82 #976F1C #1C9731 #1C4497
split-complementary
#971C82 #44971C #1C976F
monochromatic
#300929 #631256 #971C82 #CB26AE #DE4FC6
Accessibility & contrast
On white
7.49
#971C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#971C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971C82
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971C82 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#9F264F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971c82; /* rgb */ color: rgb(151, 28, 130); /* oklch */ color: oklch(47.4% 0.188 336.4);
Tailwind
colors: {
custom: {
50: '#b968a6',
500: '#971c82',
950: '#000000',
},
}SCSS
$custom: #971c82; $custom-light: #b968a6; $custom-dark: #000000;
JSON
{
"hex": "#971c82",
"rgb": {
"r": 151,
"g": 28,
"b": 130
},
"hsl": {
"h": 310.244,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.47359,
"c": 0.18812,
"h": 336.4
},
"luminance": 0.09022
}Semantic roles & 50–950 ramp
primary
#971C82
secondary
#4EC162
accent
#EC5A3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F