#971E7B#971E7B
#971E7B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.182 H 339.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #971E7B |
|---|---|
| RGB | rgb(151, 30, 123) |
| HSL | hsl(314, 67%, 35%) |
| HSV | hsv(314, 80%, 59%) |
| CMYK | cmyk(0%, 80.1%, 18.5%, 40.8%) |
| CIE-LAB | lab(35.87, 57.05, -23.45) |
| CIE-LCH | lch(35.87, 61.68, 337.65°) |
| OKLab | oklab(47.13% 0.1701 -0.0635) |
| OKLCH | oklch(47.13% 0.182 339.5) |
| XYZ | xyz(16.8024, 8.9396, 19.5757) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.45
Red Violet
#9E0168
ΔE00 4.83
Barney Purple
#A00498
ΔE00 5.57
Darkmagenta
#8B008B
ΔE00 6.17
Purple
#800080
ΔE00 7.02
Darkish Purple
#751973
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971E7B #1E973A
analogous
#761E97 #971E7B #971E3F
triadic
#971E7B #7B971E #1E7B97
tetradic
#971E7B #97761E #1E973A #1E3F97
square
#971E7B #97761E #1E973A #1E3F97
split-complementary
#971E7B #3F971E #1E9776
monochromatic
#310A28 #641451 #971E7B #CA28A5 #DD53BD
Accessibility & contrast
On white
7.53
#971E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#971E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971E7B
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971E7B | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#505B78
Tritanopia (blue-blind)
#A0234B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971e7b; /* rgb */ color: rgb(151, 30, 123); /* oklch */ color: oklch(47.1% 0.182 339.5);
Tailwind
colors: {
custom: {
50: '#ba69a1',
500: '#971e7b',
950: '#000000',
},
}SCSS
$custom: #971e7b; $custom-light: #ba69a1; $custom-dark: #000000;
JSON
{
"hex": "#971e7b",
"rgb": {
"r": 151,
"g": 30,
"b": 123
},
"hsl": {
"h": 313.884,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.47129,
"c": 0.18159,
"h": 339.5
},
"luminance": 0.08938
}Semantic roles & 50–950 ramp
primary
#971E7B
secondary
#51C06B
accent
#EA663E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E