#971B7F#971B7F
#971B7F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.187 H 337.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #971B7F |
|---|---|
| RGB | rgb(151, 27, 127) |
| HSL | hsl(312, 70%, 35%) |
| HSV | hsv(312, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 15.9%, 40.8%) |
| CIE-LAB | lab(35.79, 58.42, -26.08) |
| CIE-LCH | lch(35.79, 63.98, 335.94°) |
| OKLab | oklab(47.14% 0.173 -0.0709) |
| OKLCH | oklch(47.14% 0.187 337.7) |
| XYZ | xyz(16.9856, 8.8972, 20.8973) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.83
Barney Purple
#A00498
ΔE00 4.65
Darkmagenta
#8B008B
ΔE00 5.26
Red Violet
#9E0168
ΔE00 5.63
Purple
#800080
ΔE00 6.32
Darkish Purple
#751973
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B7F #1B9733
analogous
#711B97 #971B7F #971B41
triadic
#971B7F #7F971B #1B7F97
tetradic
#971B7F #97711B #1B9733 #1B4197
square
#971B7F #97711B #1B9733 #1B4197
split-complementary
#971B7F #41971B #1B9771
monochromatic
#2F0828 #631253 #971B7F #CB24AB #DF4DC3
Accessibility & contrast
On white
7.56
#971B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#971B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B7F
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B7F | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214882
Deuteranopia (green-blind)
#4D5B7C
Tritanopia (blue-blind)
#A0244D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971b7f; /* rgb */ color: rgb(151, 27, 127); /* oklch */ color: oklch(47.1% 0.187 337.7);
Tailwind
colors: {
custom: {
50: '#ba68a4',
500: '#971b7f',
950: '#000000',
},
}SCSS
$custom: #971b7f; $custom-light: #ba68a4; $custom-dark: #000000;
JSON
{
"hex": "#971b7f",
"rgb": {
"r": 151,
"g": 27,
"b": 127
},
"hsl": {
"h": 311.613,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.47135,
"c": 0.18697,
"h": 337.7
},
"luminance": 0.08895
}Semantic roles & 50–950 ramp
primary
#971B7F
secondary
#4CC163
accent
#EC5E3B
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F