#A22E9E#A22E9E
#A22E9E is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.196 H 329.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A22E9E |
|---|---|
| RGB | rgb(162, 46, 158) |
| HSL | hsl(302, 56%, 41%) |
| HSV | hsv(302, 72%, 64%) |
| CMYK | cmyk(0%, 71.6%, 2.5%, 36.5%) |
| CIE-LAB | lab(41.38, 59.88, -36.10) |
| CIE-LCH | lch(41.38, 69.92, 328.91°) |
| OKLab | oklab(52.05% 0.1688 -0.0997) |
| OKLCH | oklch(52.05% 0.196 329.4) |
| XYZ | xyz(22.0487, 12.1056, 33.5165) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.16
Medium Purple
#9E43A2
ΔE00 3.59
Ugly Purple
#A442A0
ΔE00 3.70
Barney Purple
#A00498
ΔE00 3.90
Barney
#AC1DB8
ΔE00 4.38
Purply
#983FB2
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22E9E #2EA232
analogous
#6C2EA2 #A22E9E #A22E64
triadic
#A22E9E #9EA22E #2E9EA2
tetradic
#A22E9E #A26C2E #2EA232 #2E64A2
square
#A22E9E #A26C2E #2EA232 #2E64A2
split-complementary
#A22E9E #64A22E #2EA26C
monochromatic
#431341 #722070 #A22E9E #CA43C5 #D773D4
Accessibility & contrast
On white
6.14
#A22E9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#A22E9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22E9E
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22E9E | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#A83E63
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a22e9e; /* rgb */ color: rgb(162, 46, 158); /* oklch */ color: oklch(52.0% 0.196 329.4);
Tailwind
colors: {
custom: {
50: '#c172bb',
500: '#a22e9e',
950: '#000000',
},
}SCSS
$custom: #a22e9e; $custom-light: #c172bb; $custom-dark: #000000;
JSON
{
"hex": "#a22e9e",
"rgb": {
"r": 162,
"g": 46,
"b": 158
},
"hsl": {
"h": 302.069,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.52046,
"c": 0.19607,
"h": 329.4
},
"luminance": 0.12104
}Semantic roles & 50–950 ramp
primary
#A22E9E
secondary
#6DBF70
accent
#DF4E49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81