#971C7F#971C7F
#971C7F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.2% C 0.186 H 337.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #971C7F |
|---|---|
| RGB | rgb(151, 28, 127) |
| HSL | hsl(312, 69%, 35%) |
| HSV | hsv(312, 81%, 59%) |
| CMYK | cmyk(0%, 81.5%, 15.9%, 40.8%) |
| CIE-LAB | lab(35.88, 58.16, -25.94) |
| CIE-LCH | lch(35.88, 63.68, 335.96°) |
| OKLab | oklab(47.2% 0.1722 -0.0705) |
| OKLCH | oklch(47.2% 0.186 337.7) |
| XYZ | xyz(17.0089, 8.9438, 20.9051) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.78
Barney Purple
#A00498
ΔE00 4.68
Darkmagenta
#8B008B
ΔE00 5.34
Red Violet
#9E0168
ΔE00 5.63
Purple
#800080
ΔE00 6.39
Darkish Purple
#751973
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971C7F #1C9734
analogous
#711C97 #971C7F #971C42
triadic
#971C7F #7F971C #1C7F97
tetradic
#971C7F #97711C #1C9734 #1C4297
square
#971C7F #97711C #1C9734 #1C4297
split-complementary
#971C7F #42971C #1C9771
monochromatic
#300928 #631254 #971C7F #CB26AA #DE4FC2
Accessibility & contrast
On white
7.53
#971C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#971C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971C7F
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971C7F | 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)
#224882
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#A0244D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971c7f; /* rgb */ color: rgb(151, 28, 127); /* oklch */ color: oklch(47.2% 0.186 337.7);
Tailwind
colors: {
custom: {
50: '#ba68a4',
500: '#971c7f',
950: '#000000',
},
}SCSS
$custom: #971c7f; $custom-light: #ba68a4; $custom-dark: #000000;
JSON
{
"hex": "#971c7f",
"rgb": {
"r": 151,
"g": 28,
"b": 127
},
"hsl": {
"h": 311.707,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.47199,
"c": 0.18608,
"h": 337.7
},
"luminance": 0.08942
}Semantic roles & 50–950 ramp
primary
#971C7F
secondary
#4EC164
accent
#EC5E3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F