#A04BA2#A04BA2
#A04BA2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.3% C 0.158 H 326.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A04BA2 |
|---|---|
| RGB | rgb(160, 75, 162) |
| HSL | hsl(299, 37%, 46%) |
| HSV | hsv(299, 54%, 64%) |
| CMYK | cmyk(1.2%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(45.79, 47.63, -31.57) |
| CIE-LCH | lch(45.79, 57.14, 326.46°) |
| OKLab | oklab(55.26% 0.1317 -0.0869) |
| OKLCH | oklch(55.26% 0.158 326.6) |
| XYZ | xyz(23.5344, 15.1157, 35.8534) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.93
Medium Purple
#9E43A2
ΔE00 2.00
Purply
#983FB2
ΔE00 5.27
Purpleish
#98568D
ΔE00 5.87
Purplish
#94568C
ΔE00 6.04
Light Eggplant
#894585
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A04BA2 #4DA24B
analogous
#754BA2 #A04BA2 #A24B79
triadic
#A04BA2 #A2A04B #4BA2A0
tetradic
#A04BA2 #A2754B #4DA24B #4B79A2
square
#A04BA2 #A2754B #4DA24B #4B79A2
split-complementary
#A04BA2 #79A24B #4BA275
monochromatic
#4D244E #773878 #A04BA2 #BA6EBC #CE98CF
Accessibility & contrast
On white
5.22
#A04BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#A04BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A04BA2
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A04BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A04BA2 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#A4556F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a04ba2; /* rgb */ color: rgb(160, 75, 162); /* oklch */ color: oklch(55.3% 0.158 326.6);
Tailwind
colors: {
custom: {
50: '#be81be',
500: '#a04ba2',
950: '#000000',
},
}SCSS
$custom: #a04ba2; $custom-light: #be81be; $custom-dark: #000000;
JSON
{
"hex": "#a04ba2",
"rgb": {
"r": 160,
"g": 75,
"b": 162
},
"hsl": {
"h": 298.621,
"s": 36.709,
"l": 46.471
},
"oklch": {
"l": 0.55257,
"c": 0.15775,
"h": 326.6
},
"luminance": 0.15114
}Semantic roles & 50–950 ramp
primary
#A04BA2
secondary
#8EBC8D
accent
#CD5B5E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81