#981F94#981F94
#981F94 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.199 H 329.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #981F94 |
|---|---|
| RGB | rgb(152, 31, 148) |
| HSL | hsl(302, 66%, 36%) |
| HSV | hsv(302, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 2.6%, 40.4%) |
| CIE-LAB | lab(37.47, 60.76, -36.36) |
| CIE-LCH | lch(37.47, 70.81, 329.10°) |
| OKLab | oklab(48.74% 0.1716 -0.1006) |
| OKLCH | oklch(48.74% 0.199 329.6) |
| XYZ | xyz(18.7841, 9.7950, 28.9125) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.75
Warm Purple
#952E8F
ΔE00 2.15
Darkmagenta
#8B008B
ΔE00 4.09
Purple (survey)
#7E1E9C
ΔE00 6.14
Purple
#800080
ΔE00 6.24
Barney
#AC1DB8
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F94 #1F9823
analogous
#5F1F98 #981F94 #981F58
triadic
#981F94 #94981F #1F9498
tetradic
#981F94 #985F1F #1F9823 #1F5898
square
#981F94 #985F1F #1F9823 #1F5898
split-complementary
#981F94 #58981F #1F985F
monochromatic
#320A31 #651563 #981F94 #CB29C5 #DC55D8
Accessibility & contrast
On white
7.10
#981F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#981F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F94
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F94 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054E97
Deuteranopia (green-blind)
#455E91
Tritanopia (blue-blind)
#9E3259
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #981f94; /* rgb */ color: rgb(152, 31, 148); /* oklch */ color: oklch(48.7% 0.199 329.6);
Tailwind
colors: {
custom: {
50: '#ba6ab4',
500: '#981f94',
950: '#000000',
},
}SCSS
$custom: #981f94; $custom-light: #ba6ab4; $custom-dark: #000000;
JSON
{
"hex": "#981f94",
"rgb": {
"r": 152,
"g": 31,
"b": 148
},
"hsl": {
"h": 301.983,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.48742,
"c": 0.19887,
"h": 329.6
},
"luminance": 0.09793
}Semantic roles & 50–950 ramp
primary
#981F94
secondary
#53C057
accent
#E9443F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80