#981F92#981F92
#981F92 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.197 H 330.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #981F92 |
|---|---|
| RGB | rgb(152, 31, 146) |
| HSL | hsl(303, 66%, 36%) |
| HSV | hsv(303, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 3.9%, 40.4%) |
| CIE-LAB | lab(37.36, 60.44, -35.32) |
| CIE-LCH | lch(37.36, 70.00, 329.70°) |
| OKLab | oklab(48.62% 0.1716 -0.0976) |
| OKLCH | oklch(48.62% 0.197 330.4) |
| XYZ | xyz(18.6271, 9.7322, 28.0860) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.86
Warm Purple
#952E8F
ΔE00 1.99
Darkmagenta
#8B008B
ΔE00 4.08
Purple
#800080
ΔE00 6.17
Purple (survey)
#7E1E9C
ΔE00 6.38
Barney
#AC1DB8
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F92 #1F9825
analogous
#611F98 #981F92 #981F55
triadic
#981F92 #92981F #1F9298
tetradic
#981F92 #98611F #1F9825 #1F5598
square
#981F92 #98611F #1F9825 #1F5598
split-complementary
#981F92 #55981F #1F9861
monochromatic
#320A30 #651561 #981F92 #CB29C3 #DC55D6
Accessibility & contrast
On white
7.13
#981F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#981F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F92
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F92 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B4E95
Deuteranopia (green-blind)
#465E8F
Tritanopia (blue-blind)
#9E3158
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #981f92; /* rgb */ color: rgb(152, 31, 146); /* oklch */ color: oklch(48.6% 0.197 330.4);
Tailwind
colors: {
custom: {
50: '#ba6ab2',
500: '#981f92',
950: '#000000',
},
}SCSS
$custom: #981f92; $custom-light: #ba6ab2; $custom-dark: #000000;
JSON
{
"hex": "#981f92",
"rgb": {
"r": 152,
"g": 31,
"b": 146
},
"hsl": {
"h": 302.975,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.48623,
"c": 0.19739,
"h": 330.4
},
"luminance": 0.09731
}Semantic roles & 50–950 ramp
primary
#981F92
secondary
#53C058
accent
#E9473F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80