#A02DC3#A02DC3
#A02DC3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.227 H 316.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A02DC3 |
|---|---|
| RGB | rgb(160, 45, 195) |
| HSL | hsl(286, 63%, 47%) |
| HSV | hsv(286, 77%, 76%) |
| CMYK | cmyk(17.9%, 76.9%, 0%, 23.5%) |
| CIE-LAB | lab(43.20, 66.40, -55.11) |
| CIE-LCH | lch(43.20, 86.29, 320.31°) |
| OKLab | oklab(54% 0.1651 -0.1553) |
| OKLCH | oklch(54% 0.227 316.8) |
| XYZ | xyz(25.2844, 13.2916, 52.8528) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.10
Barney
#AC1DB8
ΔE00 3.19
Purply
#983FB2
ΔE00 3.51
Vibrant Purple
#AD03DE
ΔE00 3.95
Darkviolet
#9400D3
ΔE00 5.15
Violet (survey)
#9A0EEA
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02DC3 #50C32D
analogous
#552DC3 #A02DC3 #C32D9B
triadic
#A02DC3 #C3A02D #2DC3A0
tetradic
#A02DC3 #C3552D #50C32D #2D9BC3
square
#A02DC3 #C3552D #50C32D #2D9BC3
split-complementary
#A02DC3 #9BC32D #2DC355
monochromatic
#4E1660 #772291 #A02DC3 #B955D8 #CE87E3
Accessibility & contrast
On white
5.74
#A02DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#A02DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02DC3
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02DC3 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2E69C0
Tritanopia (blue-blind)
#9E4F77
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a02dc3; /* rgb */ color: rgb(160, 45, 195); /* oklch */ color: oklch(54.0% 0.227 316.8);
Tailwind
colors: {
custom: {
50: '#c173d6',
500: '#a02dc3',
950: '#000000',
},
}SCSS
$custom: #a02dc3; $custom-light: #c173d6; $custom-dark: #000000;
JSON
{
"hex": "#a02dc3",
"rgb": {
"r": 160,
"g": 45,
"b": 195
},
"hsl": {
"h": 286,
"s": 62.5,
"l": 47.059
},
"oklch": {
"l": 0.53998,
"c": 0.22665,
"h": 316.8
},
"luminance": 0.1329
}Semantic roles & 50–950 ramp
primary
#A02DC3
secondary
#91CD7F
accent
#E64268
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83