#981E7B#981E7B
#981E7B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.182 H 339.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #981E7B |
|---|---|
| RGB | rgb(152, 30, 123) |
| HSL | hsl(314, 67%, 36%) |
| HSV | hsv(314, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 19.1%, 40.4%) |
| CIE-LAB | lab(36.05, 57.28, -23.15) |
| CIE-LCH | lch(36.05, 61.79, 338.00°) |
| OKLab | oklab(47.3% 0.1711 -0.0626) |
| OKLCH | oklch(47.3% 0.182 339.9) |
| XYZ | xyz(16.9888, 9.0357, 19.5844) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.52
Red Violet
#9E0168
ΔE00 4.71
Barney Purple
#A00498
ΔE00 5.63
Darkmagenta
#8B008B
ΔE00 6.35
Purple
#800080
ΔE00 7.23
Light Eggplant
#894585
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E7B #1E983B
analogous
#781E98 #981E7B #981E3E
triadic
#981E7B #7B981E #1E7B98
tetradic
#981E7B #98781E #1E983B #1E3E98
square
#981E7B #98781E #1E983B #1E3E98
split-complementary
#981E7B #3E981E #1E9878
monochromatic
#320A28 #651452 #981E7B #CB28A4 #DD53BC
Accessibility & contrast
On white
7.48
#981E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#981E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E7B
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E7B | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#A1234B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #981e7b; /* rgb */ color: rgb(152, 30, 123); /* oklch */ color: oklch(47.3% 0.182 339.9);
Tailwind
colors: {
custom: {
50: '#ba69a1',
500: '#981e7b',
950: '#000000',
},
}SCSS
$custom: #981e7b; $custom-light: #ba69a1; $custom-dark: #000000;
JSON
{
"hex": "#981e7b",
"rgb": {
"r": 152,
"g": 30,
"b": 123
},
"hsl": {
"h": 314.262,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.47297,
"c": 0.18217,
"h": 339.9
},
"luminance": 0.09034
}Semantic roles & 50–950 ramp
primary
#981E7B
secondary
#51C06C
accent
#EA673E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E