#971A7C#971A7C
#971A7C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.186 H 339.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #971A7C |
|---|---|
| RGB | rgb(151, 26, 124) |
| HSL | hsl(313, 71%, 35%) |
| HSV | hsv(313, 83%, 59%) |
| CMYK | cmyk(0%, 82.8%, 17.9%, 40.8%) |
| CIE-LAB | lab(35.55, 58.25, -24.58) |
| CIE-LCH | lch(35.55, 63.22, 337.12°) |
| OKLab | oklab(46.92% 0.1735 -0.0667) |
| OKLCH | oklch(46.92% 0.186 339) |
| XYZ | xyz(16.7704, 8.7750, 19.8754) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.38
Red Violet
#9E0168
ΔE00 5.04
Barney Purple
#A00498
ΔE00 5.21
Darkmagenta
#8B008B
ΔE00 5.69
Purple
#800080
ΔE00 6.58
Darkish Purple
#751973
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971A7C #1A9735
analogous
#741A97 #971A7C #971A3E
triadic
#971A7C #7C971A #1A7C97
tetradic
#971A7C #97741A #1A9735 #1A3E97
square
#971A7C #97741A #1A9735 #1A3E97
split-complementary
#971A7C #3E971A #1A9774
monochromatic
#2F0826 #631151 #971A7C #CB23A7 #E04BC0
Accessibility & contrast
On white
7.62
#971A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#971A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971A7C
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971A7C | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#A0214B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971a7c; /* rgb */ color: rgb(151, 26, 124); /* oklch */ color: oklch(46.9% 0.186 339.0);
Tailwind
colors: {
custom: {
50: '#ba68a2',
500: '#971a7c',
950: '#000000',
},
}SCSS
$custom: #971a7c; $custom-light: #ba68a2; $custom-dark: #000000;
JSON
{
"hex": "#971a7c",
"rgb": {
"r": 151,
"g": 26,
"b": 124
},
"hsl": {
"h": 312.96,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.46915,
"c": 0.18583,
"h": 339
},
"luminance": 0.08773
}Semantic roles & 50–950 ramp
primary
#971A7C
secondary
#4BC265
accent
#ED613A
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F