#971F7D#971F7D
#971F7D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.182 H 338.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #971F7D |
|---|---|
| RGB | rgb(151, 31, 125) |
| HSL | hsl(313, 66%, 36%) |
| HSV | hsv(313, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 17.2%, 40.8%) |
| CIE-LAB | lab(36.06, 57.05, -24.40) |
| CIE-LCH | lch(36.06, 62.04, 336.85°) |
| OKLab | oklab(47.3% 0.1695 -0.0662) |
| OKLCH | oklch(47.3% 0.182 338.7) |
| XYZ | xyz(16.9546, 9.0416, 20.2504) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.04
Barney Purple
#A00498
ΔE00 5.21
Red Violet
#9E0168
ΔE00 5.23
Darkmagenta
#8B008B
ΔE00 5.91
Purple
#800080
ΔE00 6.86
Light Eggplant
#894585
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F7D #1F9739
analogous
#751F97 #971F7D #971F41
triadic
#971F7D #7D971F #1F7D97
tetradic
#971F7D #97751F #1F9739 #1F4197
square
#971F7D #97751F #1F9739 #1F4197
split-complementary
#971F7D #41971F #1F9775
monochromatic
#310A29 #641553 #971F7D #CA29A7 #DC54BF
Accessibility & contrast
On white
7.48
#971F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#971F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F7D
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F7D | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#A0254D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971f7d; /* rgb */ color: rgb(151, 31, 125); /* oklch */ color: oklch(47.3% 0.182 338.7);
Tailwind
colors: {
custom: {
50: '#b969a3',
500: '#971f7d',
950: '#000000',
},
}SCSS
$custom: #971f7d; $custom-light: #b969a3; $custom-dark: #000000;
JSON
{
"hex": "#971f7d",
"rgb": {
"r": 151,
"g": 31,
"b": 125
},
"hsl": {
"h": 313,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47303,
"c": 0.18196,
"h": 338.7
},
"luminance": 0.0904
}Semantic roles & 50–950 ramp
primary
#971F7D
secondary
#52BF6A
accent
#E9643F
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F