#A22EA2#A22EA2
#A22EA2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.3% C 0.199 H 328.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A22EA2 |
|---|---|
| RGB | rgb(162, 46, 162) |
| HSL | hsl(300, 56%, 41%) |
| HSV | hsv(300, 72%, 64%) |
| CMYK | cmyk(0%, 71.6%, 0%, 36.5%) |
| CIE-LAB | lab(41.60, 60.55, -38.15) |
| CIE-LCH | lch(41.60, 71.56, 327.78°) |
| OKLab | oklab(52.28% 0.1689 -0.1057) |
| OKLCH | oklch(52.28% 0.199 328) |
| XYZ | xyz(22.3986, 12.2456, 35.3593) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.52
Warm Purple
#952E8F
ΔE00 3.66
Barney
#AC1DB8
ΔE00 3.73
Ugly Purple
#A442A0
ΔE00 3.81
Barney Purple
#A00498
ΔE00 4.07
Purply
#983FB2
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22EA2 #2EA22E
analogous
#682EA2 #A22EA2 #A22E68
triadic
#A22EA2 #A2A22E #2EA2A2
tetradic
#A22EA2 #A2682E #2EA22E #2E68A2
square
#A22EA2 #A2682E #2EA22E #2E68A2
split-complementary
#A22EA2 #68A22E #2EA268
monochromatic
#431343 #722072 #A22EA2 #CA43CA #D773D7
Accessibility & contrast
On white
6.09
#A22EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#A22EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22EA2
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22EA2 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#4D679F
Tritanopia (blue-blind)
#A73F65
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a22ea2; /* rgb */ color: rgb(162, 46, 162); /* oklch */ color: oklch(52.3% 0.199 328.0);
Tailwind
colors: {
custom: {
50: '#c172be',
500: '#a22ea2',
950: '#000000',
},
}SCSS
$custom: #a22ea2; $custom-light: #c172be; $custom-dark: #000000;
JSON
{
"hex": "#a22ea2",
"rgb": {
"r": 162,
"g": 46,
"b": 162
},
"hsl": {
"h": 300,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.52276,
"c": 0.19922,
"h": 328
},
"luminance": 0.12244
}Semantic roles & 50–950 ramp
primary
#A22EA2
secondary
#6DBF6D
accent
#DF4949
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81