#984AAA#984AAA
#984AAA is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.5% C 0.163 H 319.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #984AAA |
|---|---|
| RGB | rgb(152, 74, 170) |
| HSL | hsl(289, 39%, 48%) |
| HSV | hsv(289, 56%, 67%) |
| CMYK | cmyk(10.6%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(44.91, 47.47, -37.77) |
| CIE-LCH | lch(44.91, 60.66, 321.49°) |
| OKLab | oklab(54.51% 0.1243 -0.105) |
| OKLCH | oklch(54.51% 0.163 319.8) |
| XYZ | xyz(22.6525, 14.4762, 39.6234) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.54
Purply
#983FB2
ΔE00 2.92
Ugly Purple
#A442A0
ΔE00 3.74
Deep Lavender
#8D5EB7
ΔE00 6.29
Barney
#AC1DB8
ΔE00 6.56
Amethyst
#9B5FC0
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984AAA #5CAA4A
analogous
#684AAA #984AAA #AA4A8C
triadic
#984AAA #AA984A #4AAA98
tetradic
#984AAA #AA684A #5CAA4A #4A8CAA
square
#984AAA #AA684A #5CAA4A #4A8CAA
split-complementary
#984AAA #8CAA4A #4AAA68
monochromatic
#4C2555 #72377F #984AAA #B270C1 #C99BD3
Accessibility & contrast
On white
5.39
#984AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#984AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984AAA
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984AAA | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#516DA7
Tritanopia (blue-blind)
#995873
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #984aaa; /* rgb */ color: rgb(152, 74, 170); /* oklch */ color: oklch(54.5% 0.163 319.8);
Tailwind
colors: {
custom: {
50: '#b980c4',
500: '#984aaa',
950: '#000000',
},
}SCSS
$custom: #984aaa; $custom-light: #b980c4; $custom-dark: #000000;
JSON
{
"hex": "#984aaa",
"rgb": {
"r": 152,
"g": 74,
"b": 170
},
"hsl": {
"h": 288.75,
"s": 39.344,
"l": 47.843
},
"oklch": {
"l": 0.5451,
"c": 0.1627,
"h": 319.8
},
"luminance": 0.14475
}Semantic roles & 50–950 ramp
primary
#984AAA
secondary
#99C090
accent
#CF596F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A12
muted
#817C81