#981F82#981F82
#981F82 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.186 H 336.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #981F82 |
|---|---|
| RGB | rgb(152, 31, 130) |
| HSL | hsl(311, 66%, 36%) |
| HSV | hsv(311, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 14.5%, 40.4%) |
| CIE-LAB | lab(36.50, 58.00, -26.82) |
| CIE-LCH | lch(36.50, 63.90, 335.18°) |
| OKLab | oklab(47.73% 0.171 -0.0731) |
| OKLCH | oklch(47.73% 0.186 336.9) |
| XYZ | xyz(17.4685, 9.2687, 21.9838) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.20
Barney Purple
#A00498
ΔE00 4.27
Darkmagenta
#8B008B
ΔE00 5.33
Red Violet
#9E0168
ΔE00 6.11
Purple
#800080
ΔE00 6.58
Light Eggplant
#894585
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F82 #1F9835
analogous
#711F98 #981F82 #981F45
triadic
#981F82 #82981F #1F8298
tetradic
#981F82 #98711F #1F9835 #1F4598
square
#981F82 #98711F #1F9835 #1F4598
split-complementary
#981F82 #45981F #1F9871
monochromatic
#320A2B #651557 #981F82 #CB29AD #DC55C4
Accessibility & contrast
On white
7.36
#981F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#981F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F82
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F82 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#4E5C7F
Tritanopia (blue-blind)
#A0284F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #981f82; /* rgb */ color: rgb(152, 31, 130); /* oklch */ color: oklch(47.7% 0.186 336.9);
Tailwind
colors: {
custom: {
50: '#ba6aa6',
500: '#981f82',
950: '#000000',
},
}SCSS
$custom: #981f82; $custom-light: #ba6aa6; $custom-dark: #000000;
JSON
{
"hex": "#981f82",
"rgb": {
"r": 152,
"g": 31,
"b": 130
},
"hsl": {
"h": 310.909,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.47729,
"c": 0.18592,
"h": 336.9
},
"luminance": 0.09267
}Semantic roles & 50–950 ramp
primary
#981F82
secondary
#53C067
accent
#E95E3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F