#971B90#971B90
#971B90 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.199 H 330.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #971B90 |
|---|---|
| RGB | rgb(151, 27, 144) |
| HSL | hsl(303, 70%, 35%) |
| HSV | hsv(303, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 4.6%, 40.8%) |
| CIE-LAB | lab(36.70, 60.96, -35.14) |
| CIE-LCH | lch(36.70, 70.37, 330.04°) |
| OKLab | oklab(48.09% 0.1736 -0.0971) |
| OKLCH | oklch(48.09% 0.199 330.8) |
| XYZ | xyz(18.1884, 9.3783, 27.2324) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.88
Warm Purple
#952E8F
ΔE00 2.38
Darkmagenta
#8B008B
ΔE00 3.58
Purple
#800080
ΔE00 5.65
Purple (survey)
#7E1E9C
ΔE00 6.27
Barney
#AC1DB8
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B90 #1B9722
analogous
#601B97 #971B90 #971B52
triadic
#971B90 #90971B #1B9097
tetradic
#971B90 #97601B #1B9722 #1B5297
square
#971B90 #97601B #1B9722 #1B5297
split-complementary
#971B90 #52971B #1B9760
monochromatic
#2F082D #63125E #971B90 #CB24C2 #DF4DD7
Accessibility & contrast
On white
7.30
#971B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#971B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B90
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B90 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054C93
Deuteranopia (green-blind)
#455C8D
Tritanopia (blue-blind)
#9D2E56
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #971b90; /* rgb */ color: rgb(151, 27, 144); /* oklch */ color: oklch(48.1% 0.199 330.8);
Tailwind
colors: {
custom: {
50: '#b969b1',
500: '#971b90',
950: '#000000',
},
}SCSS
$custom: #971b90; $custom-light: #b969b1; $custom-dark: #000000;
JSON
{
"hex": "#971b90",
"rgb": {
"r": 151,
"g": 27,
"b": 144
},
"hsl": {
"h": 303.387,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.48087,
"c": 0.19888,
"h": 330.8
},
"luminance": 0.09377
}Semantic roles & 50–950 ramp
primary
#971B90
secondary
#4CC153
accent
#EC453B
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120711
muted
#817A80