#A22EA0#A22EA0
#A22EA0 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 328.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A22EA0 |
|---|---|
| RGB | rgb(162, 46, 160) |
| HSL | hsl(301, 56%, 41%) |
| HSV | hsv(301, 72%, 64%) |
| CMYK | cmyk(0%, 71.6%, 1.2%, 36.5%) |
| CIE-LAB | lab(41.49, 60.21, -37.13) |
| CIE-LCH | lch(41.49, 70.74, 328.34°) |
| OKLab | oklab(52.16% 0.1689 -0.1027) |
| OKLCH | oklch(52.16% 0.198 328.7) |
| XYZ | xyz(22.2222, 12.1751, 34.4305) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.40
Medium Purple
#9E43A2
ΔE00 3.54
Ugly Purple
#A442A0
ΔE00 3.74
Barney Purple
#A00498
ΔE00 3.97
Barney
#AC1DB8
ΔE00 4.05
Purply
#983FB2
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22EA0 #2EA230
analogous
#6A2EA2 #A22EA0 #A22E66
triadic
#A22EA0 #A0A22E #2EA0A2
tetradic
#A22EA0 #A26A2E #2EA230 #2E66A2
square
#A22EA0 #A26A2E #2EA230 #2E66A2
split-complementary
#A22EA0 #66A22E #2EA26A
monochromatic
#431342 #722071 #A22EA0 #CA43C7 #D773D6
Accessibility & contrast
On white
6.11
#A22EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#A22EA0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22EA0
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22EA0 | 1.00 | 6.11 | 3.43 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C58A3
Deuteranopia (green-blind)
#4E679D
Tritanopia (blue-blind)
#A73F64
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a22ea0; /* rgb */ color: rgb(162, 46, 160); /* oklch */ color: oklch(52.2% 0.198 328.7);
Tailwind
colors: {
custom: {
50: '#c172bc',
500: '#a22ea0',
950: '#000000',
},
}SCSS
$custom: #a22ea0; $custom-light: #c172bc; $custom-dark: #000000;
JSON
{
"hex": "#a22ea0",
"rgb": {
"r": 162,
"g": 46,
"b": 160
},
"hsl": {
"h": 301.034,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.5216,
"c": 0.19763,
"h": 328.7
},
"luminance": 0.12173
}Semantic roles & 50–950 ramp
primary
#A22EA0
secondary
#6DBF6E
accent
#DF4B49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81