#A02E9C#A02E9C
#A02E9C is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.193 H 329.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A02E9C |
|---|---|
| RGB | rgb(160, 46, 156) |
| HSL | hsl(302, 55%, 40%) |
| HSV | hsv(302, 71%, 63%) |
| CMYK | cmyk(0%, 71.2%, 2.5%, 37.3%) |
| CIE-LAB | lab(40.94, 59.08, -35.62) |
| CIE-LCH | lch(40.94, 68.99, 328.92°) |
| OKLab | oklab(51.63% 0.1666 -0.0984) |
| OKLCH | oklch(51.63% 0.193 329.4) |
| XYZ | xyz(21.4748, 11.8295, 32.5983) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.71
Barney Purple
#A00498
ΔE00 3.69
Medium Purple
#9E43A2
ΔE00 3.75
Ugly Purple
#A442A0
ΔE00 3.92
Barney
#AC1DB8
ΔE00 4.71
Purply
#983FB2
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02E9C #2EA032
analogous
#6B2EA0 #A02E9C #A02E63
triadic
#A02E9C #9CA02E #2E9CA0
tetradic
#A02E9C #A06B2E #2EA032 #2E63A0
square
#A02E9C #A06B2E #2EA032 #2E63A0
split-complementary
#A02E9C #63A02E #2EA06B
monochromatic
#41133F #70206E #A02E9C #C942C4 #D672D3
Accessibility & contrast
On white
6.24
#A02E9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#A02E9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02E9C
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02E9C | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#4E6699
Tritanopia (blue-blind)
#A63D62
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a02e9c; /* rgb */ color: rgb(160, 46, 156); /* oklch */ color: oklch(51.6% 0.193 329.4);
Tailwind
colors: {
custom: {
50: '#c072b9',
500: '#a02e9c',
950: '#000000',
},
}SCSS
$custom: #a02e9c; $custom-light: #c072b9; $custom-dark: #000000;
JSON
{
"hex": "#a02e9c",
"rgb": {
"r": 160,
"g": 46,
"b": 156
},
"hsl": {
"h": 302.105,
"s": 55.34,
"l": 40.392
},
"oklch": {
"l": 0.51631,
"c": 0.19346,
"h": 329.4
},
"luminance": 0.11828
}Semantic roles & 50–950 ramp
primary
#A02E9C
secondary
#6CBE6F
accent
#DF4E49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80