#A02EA1#A02EA1
#A02EA1 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.197 H 327.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A02EA1 |
|---|---|
| RGB | rgb(160, 46, 161) |
| HSL | hsl(299, 56%, 41%) |
| HSV | hsv(299, 71%, 63%) |
| CMYK | cmyk(0.6%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(41.22, 59.92, -38.18) |
| CIE-LCH | lch(41.22, 71.06, 327.49°) |
| OKLab | oklab(51.92% 0.1667 -0.1058) |
| OKLCH | oklch(51.92% 0.197 327.6) |
| XYZ | xyz(21.9069, 12.0023, 34.8741) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.37
Medium Purple
#9E43A2
ΔE00 3.64
Barney Purple
#A00498
ΔE00 3.88
Barney
#AC1DB8
ΔE00 3.90
Ugly Purple
#A442A0
ΔE00 4.03
Purply
#983FB2
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02EA1 #2FA12E
analogous
#662EA1 #A02EA1 #A12E68
triadic
#A02EA1 #A1A02E #2EA1A0
tetradic
#A02EA1 #A1662E #2FA12E #2E68A1
square
#A02EA1 #A1662E #2FA12E #2E68A1
split-complementary
#A02EA1 #68A12E #2EA166
monochromatic
#411342 #712071 #A02EA1 #C843C9 #D673D7
Accessibility & contrast
On white
6.18
#A02EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#A02EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02EA1
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02EA1 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#4C669E
Tritanopia (blue-blind)
#A53F65
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a02ea1; /* rgb */ color: rgb(160, 46, 161); /* oklch */ color: oklch(51.9% 0.197 327.6);
Tailwind
colors: {
custom: {
50: '#c072bd',
500: '#a02ea1',
950: '#000000',
},
}SCSS
$custom: #a02ea1; $custom-light: #c072bd; $custom-dark: #000000;
JSON
{
"hex": "#a02ea1",
"rgb": {
"r": 160,
"g": 46,
"b": 161
},
"hsl": {
"h": 299.478,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.51919,
"c": 0.19742,
"h": 327.6
},
"luminance": 0.12001
}Semantic roles & 50–950 ramp
primary
#A02EA1
secondary
#6DBE6C
accent
#DF494A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81