#971B91#971B91
#971B91 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.200 H 330.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #971B91 |
|---|---|
| RGB | rgb(151, 27, 145) |
| HSL | hsl(303, 70%, 35%) |
| HSV | hsv(303, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 4%, 40.8%) |
| CIE-LAB | lab(36.76, 61.12, -35.66) |
| CIE-LCH | lch(36.76, 70.77, 329.74°) |
| OKLab | oklab(48.15% 0.1736 -0.0986) |
| OKLCH | oklch(48.15% 0.2 330.4) |
| XYZ | xyz(18.2652, 9.4090, 27.6367) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.79
Warm Purple
#952E8F
ΔE00 2.42
Darkmagenta
#8B008B
ΔE00 3.57
Purple
#800080
ΔE00 5.68
Purple (survey)
#7E1E9C
ΔE00 6.14
Barney
#AC1DB8
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B91 #1B9721
analogous
#5F1B97 #971B91 #971B53
triadic
#971B91 #91971B #1B9197
tetradic
#971B91 #975F1B #1B9721 #1B5397
square
#971B91 #975F1B #1B9721 #1B5397
split-complementary
#971B91 #53971B #1B975F
monochromatic
#2F082D #63125F #971B91 #CB24C3 #DF4DD8
Accessibility & contrast
On white
7.29
#971B91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#971B91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B91
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B91 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024C94
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#9D2E57
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #971b91; /* rgb */ color: rgb(151, 27, 145); /* oklch */ color: oklch(48.1% 0.200 330.4);
Tailwind
colors: {
custom: {
50: '#ba69b2',
500: '#971b91',
950: '#000000',
},
}SCSS
$custom: #971b91; $custom-light: #ba69b2; $custom-dark: #000000;
JSON
{
"hex": "#971b91",
"rgb": {
"r": 151,
"g": 27,
"b": 145
},
"hsl": {
"h": 302.903,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.48146,
"c": 0.19962,
"h": 330.4
},
"luminance": 0.09408
}Semantic roles & 50–950 ramp
primary
#971B91
secondary
#4CC152
accent
#EC443B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80