#A02E99#A02E99
#A02E99 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.191 H 330.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A02E99 |
|---|---|
| RGB | rgb(160, 46, 153) |
| HSL | hsl(304, 55%, 40%) |
| HSV | hsv(304, 71%, 63%) |
| CMYK | cmyk(0%, 71.2%, 4.4%, 37.3%) |
| CIE-LAB | lab(40.78, 58.59, -34.06) |
| CIE-LCH | lch(40.78, 67.77, 329.83°) |
| OKLab | oklab(51.46% 0.1665 -0.0938) |
| OKLCH | oklch(51.46% 0.191 330.6) |
| XYZ | xyz(21.2239, 11.7291, 31.2769) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.40
Barney Purple
#A00498
ΔE00 3.69
Medium Purple
#9E43A2
ΔE00 3.92
Ugly Purple
#A442A0
ΔE00 3.96
Barney
#AC1DB8
ΔE00 5.22
Purply
#983FB2
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02E99 #2EA035
analogous
#6E2EA0 #A02E99 #A02E60
triadic
#A02E99 #99A02E #2E99A0
tetradic
#A02E99 #A06E2E #2EA035 #2E60A0
square
#A02E99 #A06E2E #2EA035 #2E60A0
split-complementary
#A02E99 #60A02E #2EA06E
monochromatic
#41133E #70206C #A02E99 #C942C1 #D672D0
Accessibility & contrast
On white
6.28
#A02E99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#A02E99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02E99
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02E99 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#A63C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a02e99; /* rgb */ color: rgb(160, 46, 153); /* oklch */ color: oklch(51.5% 0.191 330.6);
Tailwind
colors: {
custom: {
50: '#c072b7',
500: '#a02e99',
950: '#000000',
},
}SCSS
$custom: #a02e99; $custom-light: #c072b7; $custom-dark: #000000;
JSON
{
"hex": "#a02e99",
"rgb": {
"r": 160,
"g": 46,
"b": 153
},
"hsl": {
"h": 303.684,
"s": 55.34,
"l": 40.392
},
"oklch": {
"l": 0.51463,
"c": 0.19111,
"h": 330.6
},
"luminance": 0.11727
}Semantic roles & 50–950 ramp
primary
#A02E99
secondary
#6CBE71
accent
#DF5249
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80