#971F93#971F93
#971F93 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 329.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #971F93 |
|---|---|
| RGB | rgb(151, 31, 147) |
| HSL | hsl(302, 66%, 36%) |
| HSV | hsv(302, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 2.6%, 40.8%) |
| CIE-LAB | lab(37.24, 60.39, -36.13) |
| CIE-LCH | lch(37.24, 70.37, 329.11°) |
| OKLab | oklab(48.52% 0.1705 -0.1) |
| OKLCH | oklch(48.52% 0.198 329.6) |
| XYZ | xyz(18.5188, 9.6673, 28.4887) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.86
Warm Purple
#952E8F
ΔE00 2.14
Darkmagenta
#8B008B
ΔE00 3.92
Purple
#800080
ΔE00 6.04
Purple (survey)
#7E1E9C
ΔE00 6.05
Barney
#AC1DB8
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F93 #1F9723
analogous
#5F1F97 #971F93 #971F57
triadic
#971F93 #93971F #1F9397
tetradic
#971F93 #975F1F #1F9723 #1F5797
square
#971F93 #975F1F #1F9723 #1F5797
split-complementary
#971F93 #57971F #1F975F
monochromatic
#310A30 #641562 #971F93 #CA29C4 #DC54D7
Accessibility & contrast
On white
7.16
#971F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#971F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F93
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F93 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#064D96
Deuteranopia (green-blind)
#455D90
Tritanopia (blue-blind)
#9D3259
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #971f93; /* rgb */ color: rgb(151, 31, 147); /* oklch */ color: oklch(48.5% 0.198 329.6);
Tailwind
colors: {
custom: {
50: '#b96ab3',
500: '#971f93',
950: '#000000',
},
}SCSS
$custom: #971f93; $custom-light: #b96ab3; $custom-dark: #000000;
JSON
{
"hex": "#971f93",
"rgb": {
"r": 151,
"g": 31,
"b": 147
},
"hsl": {
"h": 302,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.48524,
"c": 0.19765,
"h": 329.6
},
"luminance": 0.09666
}Semantic roles & 50–950 ramp
primary
#971F93
secondary
#52BF56
accent
#E9453F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80