#971F92#971F92
#971F92 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.5% C 0.197 H 330.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #971F92 |
|---|---|
| RGB | rgb(151, 31, 146) |
| HSL | hsl(303, 66%, 36%) |
| HSV | hsv(303, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 3.3%, 40.8%) |
| CIE-LAB | lab(37.18, 60.23, -35.61) |
| CIE-LCH | lch(37.18, 69.97, 329.41°) |
| OKLab | oklab(48.46% 0.1705 -0.0984) |
| OKLCH | oklch(48.46% 0.197 330) |
| XYZ | xyz(18.4407, 9.6361, 28.0773) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.92
Warm Purple
#952E8F
ΔE00 2.06
Darkmagenta
#8B008B
ΔE00 3.91
Purple
#800080
ΔE00 6.00
Purple (survey)
#7E1E9C
ΔE00 6.17
Barney
#AC1DB8
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F92 #1F9724
analogous
#601F97 #971F92 #971F56
triadic
#971F92 #92971F #1F9297
tetradic
#971F92 #97601F #1F9724 #1F5697
square
#971F92 #97601F #1F9724 #1F5697
split-complementary
#971F92 #56971F #1F9760
monochromatic
#310A30 #641561 #971F92 #CA29C3 #DC54D6
Accessibility & contrast
On white
7.17
#971F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#971F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F92
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F92 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#094D95
Deuteranopia (green-blind)
#455D8F
Tritanopia (blue-blind)
#9D3158
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #971f92; /* rgb */ color: rgb(151, 31, 146); /* oklch */ color: oklch(48.5% 0.197 330.0);
Tailwind
colors: {
custom: {
50: '#b96ab2',
500: '#971f92',
950: '#000000',
},
}SCSS
$custom: #971f92; $custom-light: #b96ab2; $custom-dark: #000000;
JSON
{
"hex": "#971f92",
"rgb": {
"r": 151,
"g": 31,
"b": 146
},
"hsl": {
"h": 302.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.48464,
"c": 0.19691,
"h": 330
},
"luminance": 0.09635
}Semantic roles & 50–950 ramp
primary
#971F92
secondary
#52BF57
accent
#E9463F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80