#971E78#971E78
#971E78 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.180 H 340.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #971E78 |
|---|---|
| RGB | rgb(151, 30, 120) |
| HSL | hsl(315, 67%, 35%) |
| HSV | hsv(315, 80%, 59%) |
| CMYK | cmyk(0%, 80.1%, 20.5%, 40.8%) |
| CIE-LAB | lab(35.72, 56.63, -21.80) |
| CIE-LCH | lch(35.72, 60.68, 338.95°) |
| OKLab | oklab(46.98% 0.1698 -0.0588) |
| OKLCH | oklch(46.98% 0.18 340.9) |
| XYZ | xyz(16.6175, 8.8656, 18.6018) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.23
Warm Purple
#952E8F
ΔE00 5.05
Barney Purple
#A00498
ΔE00 6.20
Darkmagenta
#8B008B
ΔE00 6.72
Deep Magenta
#A0025C
ΔE00 7.29
Purple
#800080
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971E78 #1E973D
analogous
#791E97 #971E78 #971E3B
triadic
#971E78 #78971E #1E7897
tetradic
#971E78 #97791E #1E973D #1E3B97
square
#971E78 #97791E #1E973D #1E3B97
split-complementary
#971E78 #3B971E #1E9779
monochromatic
#310A27 #64144F #971E78 #CA28A1 #DD53B9
Accessibility & contrast
On white
7.57
#971E78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#971E78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971E78
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971E78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971E78 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29487A
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#A12149
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971e78; /* rgb */ color: rgb(151, 30, 120); /* oklch */ color: oklch(47.0% 0.180 340.9);
Tailwind
colors: {
custom: {
50: '#ba699f',
500: '#971e78',
950: '#000000',
},
}SCSS
$custom: #971e78; $custom-light: #ba699f; $custom-dark: #000000;
JSON
{
"hex": "#971e78",
"rgb": {
"r": 151,
"g": 30,
"b": 120
},
"hsl": {
"h": 315.372,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.46979,
"c": 0.17964,
"h": 340.9
},
"luminance": 0.08864
}Semantic roles & 50–950 ramp
primary
#971E78
secondary
#51C06D
accent
#EA6A3E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E