#A22A9E#A22A9E
#A22A9E is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.200 H 329.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A22A9E |
|---|---|
| RGB | rgb(162, 42, 158) |
| HSL | hsl(302, 59%, 40%) |
| HSV | hsv(302, 74%, 64%) |
| CMYK | cmyk(0%, 74.1%, 2.5%, 36.5%) |
| CIE-LAB | lab(40.91, 61.23, -36.85) |
| CIE-LCH | lch(40.91, 71.47, 328.96°) |
| OKLab | oklab(51.71% 0.1727 -0.1019) |
| OKLCH | oklch(51.71% 0.2 329.5) |
| XYZ | xyz(21.8997, 11.8076, 33.4668) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.06
Barney Purple
#A00498
ΔE00 3.36
Medium Purple
#9E43A2
ΔE00 4.12
Ugly Purple
#A442A0
ΔE00 4.26
Barney
#AC1DB8
ΔE00 4.26
Purply
#983FB2
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22A9E #2AA22E
analogous
#6A2AA2 #A22A9E #A22A62
triadic
#A22A9E #9EA22A #2A9EA2
tetradic
#A22A9E #A26A2A #2AA22E #2A62A2
square
#A22A9E #A26A2A #2AA22E #2A62A2
split-complementary
#A22A9E #62A22A #2AA26A
monochromatic
#41113F #711D6F #A22A9E #CD3DC8 #D96DD6
Accessibility & contrast
On white
6.25
#A22A9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#A22A9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22A9E
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22A9E | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#A83B62
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a22a9e; /* rgb */ color: rgb(162, 42, 158); /* oklch */ color: oklch(51.7% 0.200 329.5);
Tailwind
colors: {
custom: {
50: '#c170bb',
500: '#a22a9e',
950: '#000000',
},
}SCSS
$custom: #a22a9e; $custom-light: #c170bb; $custom-dark: #000000;
JSON
{
"hex": "#a22a9e",
"rgb": {
"r": 162,
"g": 42,
"b": 158
},
"hsl": {
"h": 302,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.51706,
"c": 0.20048,
"h": 329.5
},
"luminance": 0.11806
}Semantic roles & 50–950 ramp
primary
#A22A9E
secondary
#68C06B
accent
#E24B46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81