#A22EA1#A22EA1
#A22EA1 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 328.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A22EA1 |
|---|---|
| RGB | rgb(162, 46, 161) |
| HSL | hsl(301, 56%, 41%) |
| HSV | hsv(301, 72%, 64%) |
| CMYK | cmyk(0%, 71.6%, 0.6%, 36.5%) |
| CIE-LAB | lab(41.55, 60.38, -37.64) |
| CIE-LCH | lch(41.55, 71.15, 328.06°) |
| OKLab | oklab(52.22% 0.1689 -0.1042) |
| OKLCH | oklch(52.22% 0.198 328.3) |
| XYZ | xyz(22.3101, 12.2102, 34.8930) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.52
Medium Purple
#9E43A2
ΔE00 3.53
Ugly Purple
#A442A0
ΔE00 3.77
Barney
#AC1DB8
ΔE00 3.89
Barney Purple
#A00498
ΔE00 4.02
Purply
#983FB2
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22EA1 #2EA22F
analogous
#692EA2 #A22EA1 #A22E67
triadic
#A22EA1 #A1A22E #2EA1A2
tetradic
#A22EA1 #A2692E #2EA22F #2E67A2
square
#A22EA1 #A2692E #2EA22F #2E67A2
split-complementary
#A22EA1 #67A22E #2EA269
monochromatic
#431342 #722072 #A22EA1 #CA43C9 #D773D6
Accessibility & contrast
On white
6.10
#A22EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#A22EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22EA1
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22EA1 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#4D679E
Tritanopia (blue-blind)
#A73F65
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a22ea1; /* rgb */ color: rgb(162, 46, 161); /* oklch */ color: oklch(52.2% 0.198 328.3);
Tailwind
colors: {
custom: {
50: '#c172bd',
500: '#a22ea1',
950: '#000000',
},
}SCSS
$custom: #a22ea1; $custom-light: #c172bd; $custom-dark: #000000;
JSON
{
"hex": "#a22ea1",
"rgb": {
"r": 162,
"g": 46,
"b": 161
},
"hsl": {
"h": 300.517,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.52218,
"c": 0.19843,
"h": 328.3
},
"luminance": 0.12209
}Semantic roles & 50–950 ramp
primary
#A22EA1
secondary
#6DBF6E
accent
#DF4A49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81