#A04AAA#A04AAA
#A04AAA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.5% C 0.167 H 323.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A04AAA |
|---|---|
| RGB | rgb(160, 74, 170) |
| HSL | hsl(294, 39%, 48%) |
| HSV | hsv(294, 56%, 67%) |
| CMYK | cmyk(5.9%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(46.01, 49.63, -35.97) |
| CIE-LCH | lch(46.01, 61.29, 324.07°) |
| OKLab | oklab(55.55% 0.1339 -0.0996) |
| OKLCH | oklch(55.55% 0.167 323.4) |
| XYZ | xyz(24.2010, 15.2747, 39.6960) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.10
Ugly Purple
#A442A0
ΔE00 2.67
Purply
#983FB2
ΔE00 3.95
Barney
#AC1DB8
ΔE00 6.49
Amethyst
#9B5FC0
ΔE00 6.70
Deep Lavender
#8D5EB7
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A04AAA #54AA4A
analogous
#704AAA #A04AAA #AA4A84
triadic
#A04AAA #AAA04A #4AAAA0
tetradic
#A04AAA #AA704A #54AA4A #4A84AA
square
#A04AAA #AA704A #54AA4A #4A84AA
split-complementary
#A04AAA #84AA4A #4AAA70
monochromatic
#502555 #78377F #A04AAA #B870C1 #CE9BD3
Accessibility & contrast
On white
5.18
#A04AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#A04AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A04AAA
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A04AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A04AAA | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B66AD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#A35773
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a04aaa; /* rgb */ color: rgb(160, 74, 170); /* oklch */ color: oklch(55.5% 0.167 323.4);
Tailwind
colors: {
custom: {
50: '#be81c3',
500: '#a04aaa',
950: '#000000',
},
}SCSS
$custom: #a04aaa; $custom-light: #be81c3; $custom-dark: #000000;
JSON
{
"hex": "#a04aaa",
"rgb": {
"r": 160,
"g": 74,
"b": 170
},
"hsl": {
"h": 293.75,
"s": 39.344,
"l": 47.843
},
"oklch": {
"l": 0.55546,
"c": 0.1669,
"h": 323.4
},
"luminance": 0.15273
}Semantic roles & 50–950 ramp
primary
#A04AAA
secondary
#95C090
accent
#CF5965
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B12
muted
#817C81