#A22E9A#A22E9A
#A22E9A is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.193 H 330.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A22E9A |
|---|---|
| RGB | rgb(162, 46, 154) |
| HSL | hsl(304, 56%, 41%) |
| HSV | hsv(304, 72%, 64%) |
| CMYK | cmyk(0%, 71.6%, 4.9%, 36.5%) |
| CIE-LAB | lab(41.17, 59.22, -34.03) |
| CIE-LCH | lch(41.17, 68.31, 330.12°) |
| OKLab | oklab(51.82% 0.1687 -0.0937) |
| OKLCH | oklch(51.82% 0.193 330.9) |
| XYZ | xyz(21.7100, 11.9702, 31.7326) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.78
Ugly Purple
#A442A0
ΔE00 3.73
Medium Purple
#9E43A2
ΔE00 3.81
Barney Purple
#A00498
ΔE00 3.88
Barney
#AC1DB8
ΔE00 5.08
Purply
#983FB2
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22E9A #2EA236
analogous
#702EA2 #A22E9A #A22E60
triadic
#A22E9A #9AA22E #2E9AA2
tetradic
#A22E9A #A2702E #2EA236 #2E60A2
square
#A22E9A #A2702E #2EA236 #2E60A2
split-complementary
#A22E9A #60A22E #2EA270
monochromatic
#43133F #72206D #A22E9A #CA43C0 #D773D0
Accessibility & contrast
On white
6.19
#A22E9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#A22E9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22E9A
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22E9A | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#A83C61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a22e9a; /* rgb */ color: rgb(162, 46, 154); /* oklch */ color: oklch(51.8% 0.193 330.9);
Tailwind
colors: {
custom: {
50: '#c172b8',
500: '#a22e9a',
950: '#000000',
},
}SCSS
$custom: #a22e9a; $custom-light: #c172b8; $custom-dark: #000000;
JSON
{
"hex": "#a22e9a",
"rgb": {
"r": 162,
"g": 46,
"b": 154
},
"hsl": {
"h": 304.138,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.51822,
"c": 0.19296,
"h": 330.9
},
"luminance": 0.11968
}Semantic roles & 50–950 ramp
primary
#A22E9A
secondary
#6DBF73
accent
#DF5349
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80