#981F93#981F93
#981F93 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 330.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #981F93 |
|---|---|
| RGB | rgb(152, 31, 147) |
| HSL | hsl(302, 66%, 36%) |
| HSV | hsv(302, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 3.3%, 40.4%) |
| CIE-LAB | lab(37.41, 60.60, -35.84) |
| CIE-LCH | lch(37.41, 70.40, 329.40°) |
| OKLab | oklab(48.68% 0.1716 -0.0991) |
| OKLCH | oklch(48.68% 0.198 330) |
| XYZ | xyz(18.7053, 9.7635, 28.4975) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.80
Warm Purple
#952E8F
ΔE00 2.06
Darkmagenta
#8B008B
ΔE00 4.08
Purple
#800080
ΔE00 6.20
Purple (survey)
#7E1E9C
ΔE00 6.26
Barney
#AC1DB8
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F93 #1F9824
analogous
#601F98 #981F93 #981F56
triadic
#981F93 #93981F #1F9398
tetradic
#981F93 #98601F #1F9824 #1F5698
square
#981F93 #98601F #1F9824 #1F5698
split-complementary
#981F93 #56981F #1F9860
monochromatic
#320A31 #651562 #981F93 #CB29C4 #DC55D7
Accessibility & contrast
On white
7.11
#981F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#981F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F93
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F93 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084E96
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#9E3159
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #981f93; /* rgb */ color: rgb(152, 31, 147); /* oklch */ color: oklch(48.7% 0.198 330.0);
Tailwind
colors: {
custom: {
50: '#ba6ab3',
500: '#981f93',
950: '#000000',
},
}SCSS
$custom: #981f93; $custom-light: #ba6ab3; $custom-dark: #000000;
JSON
{
"hex": "#981f93",
"rgb": {
"r": 152,
"g": 31,
"b": 147
},
"hsl": {
"h": 302.479,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.48682,
"c": 0.19813,
"h": 330
},
"luminance": 0.09762
}Semantic roles & 50–950 ramp
primary
#981F93
secondary
#53C057
accent
#E9463F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80