#984E8A#984E8A
#984E8A is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.5% C 0.125 H 334.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #984E8A |
|---|---|
| RGB | rgb(152, 78, 138) |
| HSL | hsl(311, 32%, 45%) |
| HSV | hsv(311, 49%, 60%) |
| CMYK | cmyk(0%, 48.7%, 9.2%, 40.4%) |
| CIE-LAB | lab(44.18, 39.30, -19.80) |
| CIE-LCH | lch(44.18, 44.01, 333.27°) |
| OKLab | oklab(53.47% 0.1134 -0.0535) |
| OKLCH | oklch(53.47% 0.125 334.7) |
| XYZ | xyz(20.2607, 13.9604, 25.6673) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 2.21
Purplish
#94568C
ΔE00 2.35
Light Eggplant
#894585
ΔE00 4.22
Light Plum
#9D5783
ΔE00 4.45
Ugly Purple
#A442A0
ΔE00 5.65
Medium Purple
#9E43A2
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984E8A #4E985C
analogous
#814E98 #984E8A #984E65
triadic
#984E8A #8A984E #4E8A98
tetradic
#984E8A #98814E #4E985C #4E6598
square
#984E8A #98814E #4E985C #4E6598
split-complementary
#984E8A #65984E #4E9881
monochromatic
#472441 #703965 #984E8A #B56EA7 #CA97C0
Accessibility & contrast
On white
5.54
#984E8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#984E8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984E8A
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984E8A | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E628C
Deuteranopia (green-blind)
#626C88
Tritanopia (blue-blind)
#9E5265
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #984e8a; /* rgb */ color: rgb(152, 78, 138); /* oklch */ color: oklch(53.5% 0.125 334.7);
Tailwind
colors: {
custom: {
50: '#b882ac',
500: '#984e8a',
950: '#000000',
},
}SCSS
$custom: #984e8a; $custom-light: #b882ac; $custom-dark: #000000;
JSON
{
"hex": "#984e8a",
"rgb": {
"r": 152,
"g": 78,
"b": 138
},
"hsl": {
"h": 311.351,
"s": 32.174,
"l": 45.098
},
"oklch": {
"l": 0.53474,
"c": 0.12537,
"h": 334.7
},
"luminance": 0.13959
}Semantic roles & 50–950 ramp
primary
#984E8A
secondary
#8CB694
accent
#C8735F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F