#984AA2#984AA2
#984AA2 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.1% C 0.155 H 323.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #984AA2 |
|---|---|
| RGB | rgb(152, 74, 162) |
| HSL | hsl(293, 37%, 46%) |
| HSV | hsv(293, 54%, 64%) |
| CMYK | cmyk(6.2%, 54.3%, 0%, 36.5%) |
| CIE-LAB | lab(44.49, 45.87, -33.69) |
| CIE-LCH | lch(44.49, 56.91, 323.70°) |
| OKLab | oklab(54.07% 0.1235 -0.0932) |
| OKLCH | oklch(54.07% 0.155 323) |
| XYZ | xyz(21.9186, 14.1827, 35.7584) |
| Luminance | 0.1418 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.74
Ugly Purple
#A442A0
ΔE00 2.80
Purply
#983FB2
ΔE00 4.10
Light Eggplant
#894585
ΔE00 5.95
Warm Purple
#952E8F
ΔE00 6.41
Purplish
#94568C
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984AA2 #54A24A
analogous
#6C4AA2 #984AA2 #A24A80
triadic
#984AA2 #A2984A #4AA298
tetradic
#984AA2 #A26C4A #54A24A #4A80A2
square
#984AA2 #A26C4A #54A24A #4A80A2
split-complementary
#984AA2 #80A24A #4AA26C
monochromatic
#49244E #713778 #984AA2 #B36DBC #C997CF
Accessibility & contrast
On white
5.47
#984AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#984AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984AA2
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984AA2 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#9A566F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #984aa2; /* rgb */ color: rgb(152, 74, 162); /* oklch */ color: oklch(54.1% 0.155 323.0);
Tailwind
colors: {
custom: {
50: '#b880be',
500: '#984aa2',
950: '#000000',
},
}SCSS
$custom: #984aa2; $custom-light: #b880be; $custom-dark: #000000;
JSON
{
"hex": "#984aa2",
"rgb": {
"r": 152,
"g": 74,
"b": 162
},
"hsl": {
"h": 293.182,
"s": 37.288,
"l": 46.275
},
"oklch": {
"l": 0.54071,
"c": 0.15471,
"h": 323
},
"luminance": 0.14182
}Semantic roles & 50–950 ramp
primary
#984AA2
secondary
#92BC8C
accent
#CD5B68
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120A12
muted
#817C81