#971F78#971F78
#971F78 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.179 H 340.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #971F78 |
|---|---|
| RGB | rgb(151, 31, 120) |
| HSL | hsl(316, 66%, 36%) |
| HSV | hsv(316, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 20.5%, 40.8%) |
| CIE-LAB | lab(35.82, 56.35, -21.64) |
| CIE-LCH | lch(35.82, 60.36, 338.99°) |
| OKLab | oklab(47.05% 0.1689 -0.0583) |
| OKLCH | oklch(47.05% 0.179 340.9) |
| XYZ | xyz(16.6432, 8.9171, 18.6103) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.24
Warm Purple
#952E8F
ΔE00 5.04
Barney Purple
#A00498
ΔE00 6.25
Darkmagenta
#8B008B
ΔE00 6.80
Deep Magenta
#A0025C
ΔE00 7.27
Light Eggplant
#894585
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F78 #1F973E
analogous
#7A1F97 #971F78 #971F3C
triadic
#971F78 #78971F #1F7897
tetradic
#971F78 #977A1F #1F973E #1F3C97
square
#971F78 #977A1F #1F973E #1F3C97
split-complementary
#971F78 #3C971F #1F977A
monochromatic
#310A27 #641550 #971F78 #CA29A0 #DC54B9
Accessibility & contrast
On white
7.55
#971F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#971F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F78
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F78 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#A0224A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971f78; /* rgb */ color: rgb(151, 31, 120); /* oklch */ color: oklch(47.1% 0.179 340.9);
Tailwind
colors: {
custom: {
50: '#ba699f',
500: '#971f78',
950: '#000000',
},
}SCSS
$custom: #971f78; $custom-light: #ba699f; $custom-dark: #000000;
JSON
{
"hex": "#971f78",
"rgb": {
"r": 151,
"g": 31,
"b": 120
},
"hsl": {
"h": 315.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47051,
"c": 0.17866,
"h": 340.9
},
"luminance": 0.08915
}Semantic roles & 50–950 ramp
primary
#971F78
secondary
#52BF6F
accent
#E96B3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E