#984C8A#984C8A
#984C8A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.2% C 0.129 H 334.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #984C8A |
|---|---|
| RGB | rgb(152, 76, 138) |
| HSL | hsl(311, 33%, 45%) |
| HSV | hsv(311, 50%, 60%) |
| CMYK | cmyk(0%, 50%, 9.2%, 40.4%) |
| CIE-LAB | lab(43.77, 40.36, -20.42) |
| CIE-LCH | lch(43.77, 45.23, 333.16°) |
| OKLab | oklab(53.17% 0.1164 -0.0553) |
| OKLCH | oklch(53.17% 0.129 334.6) |
| XYZ | xyz(20.1208, 13.6806, 25.6207) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 2.74
Purplish
#94568C
ΔE00 2.84
Light Eggplant
#894585
ΔE00 3.86
Light Plum
#9D5783
ΔE00 4.92
Ugly Purple
#A442A0
ΔE00 5.32
Medium Purple
#9E43A2
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984C8A #4C985A
analogous
#804C98 #984C8A #984C64
triadic
#984C8A #8A984C #4C8A98
tetradic
#984C8A #98804C #4C985A #4C6498
square
#984C8A #98804C #4C985A #4C6498
split-complementary
#984C8A #64984C #4C9880
monochromatic
#462340 #6F3865 #984C8A #B56CA8 #CA95C0
Accessibility & contrast
On white
5.62
#984C8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#984C8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984C8A
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984C8A | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#616C88
Tritanopia (blue-blind)
#9E5064
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #984c8a; /* rgb */ color: rgb(152, 76, 138); /* oklch */ color: oklch(53.2% 0.129 334.6);
Tailwind
colors: {
custom: {
50: '#b881ac',
500: '#984c8a',
950: '#000000',
},
}SCSS
$custom: #984c8a; $custom-light: #b881ac; $custom-dark: #000000;
JSON
{
"hex": "#984c8a",
"rgb": {
"r": 152,
"g": 76,
"b": 138
},
"hsl": {
"h": 311.053,
"s": 33.333,
"l": 44.706
},
"oklch": {
"l": 0.53173,
"c": 0.12889,
"h": 334.6
},
"luminance": 0.13679
}Semantic roles & 50–950 ramp
primary
#984C8A
secondary
#8AB692
accent
#C9725E
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120A10
muted
#817C7F