#A02EA4#A02EA4
#A02EA4 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.200 H 326.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A02EA4 |
|---|---|
| RGB | rgb(160, 46, 164) |
| HSL | hsl(298, 56%, 41%) |
| HSV | hsv(298, 72%, 64%) |
| CMYK | cmyk(2.4%, 72%, 0%, 35.7%) |
| CIE-LAB | lab(41.39, 60.44, -39.71) |
| CIE-LCH | lch(41.39, 72.32, 326.69°) |
| OKLab | oklab(52.1% 0.1667 -0.1102) |
| OKLCH | oklch(52.1% 0.2 326.5) |
| XYZ | xyz(22.1746, 12.1094, 36.2842) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.45
Medium Purple
#9E43A2
ΔE00 3.68
Warm Purple
#952E8F
ΔE00 3.82
Purply
#983FB2
ΔE00 4.02
Barney Purple
#A00498
ΔE00 4.10
Ugly Purple
#A442A0
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02EA4 #32A42E
analogous
#652EA4 #A02EA4 #A42E6D
triadic
#A02EA4 #A4A02E #2EA4A0
tetradic
#A02EA4 #A4652E #32A42E #2E6DA4
square
#A02EA4 #A4652E #32A42E #2E6DA4
split-complementary
#A02EA4 #6DA42E #2EA465
monochromatic
#431344 #712174 #A02EA4 #C645CB #D574D8
Accessibility & contrast
On white
6.14
#A02EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#A02EA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02EA4
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02EA4 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1258A7
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#A44166
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a02ea4; /* rgb */ color: rgb(160, 46, 164); /* oklch */ color: oklch(52.1% 0.200 326.5);
Tailwind
colors: {
custom: {
50: '#c072bf',
500: '#a02ea4',
950: '#000000',
},
}SCSS
$custom: #a02ea4; $custom-light: #c072bf; $custom-dark: #000000;
JSON
{
"hex": "#a02ea4",
"rgb": {
"r": 160,
"g": 46,
"b": 164
},
"hsl": {
"h": 297.966,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.52095,
"c": 0.19984,
"h": 326.5
},
"luminance": 0.12108
}Semantic roles & 50–950 ramp
primary
#A02EA4
secondary
#71C06E
accent
#DF484D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81