#A02EC3#A02EC3
#A02EC3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.226 H 316.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A02EC3 |
|---|---|
| RGB | rgb(160, 46, 195) |
| HSL | hsl(286, 62%, 47%) |
| HSV | hsv(286, 76%, 76%) |
| CMYK | cmyk(17.9%, 76.4%, 0%, 23.5%) |
| CIE-LAB | lab(43.31, 66.07, -54.93) |
| CIE-LCH | lch(43.31, 85.92, 320.26°) |
| OKLab | oklab(54.08% 0.1643 -0.1547) |
| OKLCH | oklch(54.08% 0.226 316.7) |
| XYZ | xyz(25.3230, 13.3688, 52.8657) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.09
Barney
#AC1DB8
ΔE00 3.23
Purply
#983FB2
ΔE00 3.43
Vibrant Purple
#AD03DE
ΔE00 3.99
Darkviolet
#9400D3
ΔE00 5.25
Violet (survey)
#9A0EEA
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02EC3 #51C32E
analogous
#552EC3 #A02EC3 #C32E9C
triadic
#A02EC3 #C3A02E #2EC3A0
tetradic
#A02EC3 #C3552E #51C32E #2E9CC3
square
#A02EC3 #C3552E #51C32E #2E9CC3
split-complementary
#A02EC3 #9CC32E #2EC355
monochromatic
#4F1760 #772291 #A02EC3 #B957D7 #CE88E3
Accessibility & contrast
On white
5.72
#A02EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#A02EC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02EC3
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02EC3 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#2F6AC0
Tritanopia (blue-blind)
#9E4F78
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a02ec3; /* rgb */ color: rgb(160, 46, 195); /* oklch */ color: oklch(54.1% 0.226 316.7);
Tailwind
colors: {
custom: {
50: '#c173d6',
500: '#a02ec3',
950: '#000000',
},
}SCSS
$custom: #a02ec3; $custom-light: #c173d6; $custom-dark: #000000;
JSON
{
"hex": "#a02ec3",
"rgb": {
"r": 160,
"g": 46,
"b": 195
},
"hsl": {
"h": 285.906,
"s": 61.826,
"l": 47.255
},
"oklch": {
"l": 0.54079,
"c": 0.22566,
"h": 316.7
},
"luminance": 0.13368
}Semantic roles & 50–950 ramp
primary
#A02EC3
secondary
#92CD80
accent
#E54369
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83