#971E7E#971E7E
#971E7E is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.184 H 338.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #971E7E |
|---|---|
| RGB | rgb(151, 30, 126) |
| HSL | hsl(312, 67%, 35%) |
| HSV | hsv(312, 80%, 59%) |
| CMYK | cmyk(0%, 80.1%, 16.6%, 40.8%) |
| CIE-LAB | lab(36.01, 57.47, -25.10) |
| CIE-LCH | lch(36.01, 62.71, 336.41°) |
| OKLab | oklab(47.28% 0.1705 -0.0682) |
| OKLCH | oklch(47.28% 0.184 338.2) |
| XYZ | xyz(16.9931, 9.0159, 20.5799) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.89
Barney Purple
#A00498
ΔE00 4.96
Red Violet
#9E0168
ΔE00 5.43
Darkmagenta
#8B008B
ΔE00 5.66
Purple
#800080
ΔE00 6.66
Darkish Purple
#751973
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971E7E #1E9737
analogous
#741E97 #971E7E #971E41
triadic
#971E7E #7E971E #1E7E97
tetradic
#971E7E #97741E #1E9737 #1E4197
square
#971E7E #97741E #1E9737 #1E4197
split-complementary
#971E7E #41971E #1E9774
monochromatic
#310A29 #641453 #971E7E #CA28A9 #DD53C0
Accessibility & contrast
On white
7.49
#971E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#971E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971E7E
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971E7E | 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)
#244980
Deuteranopia (green-blind)
#4F5B7B
Tritanopia (blue-blind)
#A0254D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971e7e; /* rgb */ color: rgb(151, 30, 126); /* oklch */ color: oklch(47.3% 0.184 338.2);
Tailwind
colors: {
custom: {
50: '#b969a3',
500: '#971e7e',
950: '#000000',
},
}SCSS
$custom: #971e7e; $custom-light: #b969a3; $custom-dark: #000000;
JSON
{
"hex": "#971e7e",
"rgb": {
"r": 151,
"g": 30,
"b": 126
},
"hsl": {
"h": 312.397,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.47283,
"c": 0.18358,
"h": 338.2
},
"luminance": 0.09014
}Semantic roles & 50–950 ramp
primary
#971E7E
secondary
#51C068
accent
#EA623E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F