#981E82#981E82
#981E82 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.187 H 336.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #981E82 |
|---|---|
| RGB | rgb(152, 30, 130) |
| HSL | hsl(311, 67%, 36%) |
| HSV | hsv(311, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 14.5%, 40.4%) |
| CIE-LAB | lab(36.40, 58.28, -26.97) |
| CIE-LCH | lch(36.40, 64.22, 335.17°) |
| OKLab | oklab(47.66% 0.1718 -0.0735) |
| OKLCH | oklch(47.66% 0.187 336.8) |
| XYZ | xyz(17.4428, 9.2173, 21.9753) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.24
Barney Purple
#A00498
ΔE00 4.23
Darkmagenta
#8B008B
ΔE00 5.24
Red Violet
#9E0168
ΔE00 6.11
Purple
#800080
ΔE00 6.49
Light Eggplant
#894585
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E82 #1E9834
analogous
#711E98 #981E82 #981E45
triadic
#981E82 #82981E #1E8298
tetradic
#981E82 #98711E #1E9834 #1E4598
square
#981E82 #98711E #1E9834 #1E4598
split-complementary
#981E82 #45981E #1E9871
monochromatic
#320A2B #651456 #981E82 #CB28AE #DD53C4
Accessibility & contrast
On white
7.39
#981E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#981E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E82
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E82 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#4E5C7F
Tritanopia (blue-blind)
#A0274F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #981e82; /* rgb */ color: rgb(152, 30, 130); /* oklch */ color: oklch(47.7% 0.187 336.8);
Tailwind
colors: {
custom: {
50: '#ba69a6',
500: '#981e82',
950: '#000000',
},
}SCSS
$custom: #981e82; $custom-light: #ba69a6; $custom-dark: #000000;
JSON
{
"hex": "#981e82",
"rgb": {
"r": 152,
"g": 30,
"b": 130
},
"hsl": {
"h": 310.82,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.47659,
"c": 0.18686,
"h": 336.8
},
"luminance": 0.09216
}Semantic roles & 50–950 ramp
primary
#981E82
secondary
#51C065
accent
#EA5D3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F