#A22A9F#A22A9F
#A22A9F is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.201 H 329.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A22A9F |
|---|---|
| RGB | rgb(162, 42, 159) |
| HSL | hsl(302, 59%, 40%) |
| HSV | hsv(302, 74%, 64%) |
| CMYK | cmyk(0%, 74.1%, 1.9%, 36.5%) |
| CIE-LAB | lab(40.96, 61.40, -37.37) |
| CIE-LCH | lch(40.96, 71.87, 328.67°) |
| OKLab | oklab(51.76% 0.1727 -0.1033) |
| OKLCH | oklch(51.76% 0.201 329.1) |
| XYZ | xyz(21.9861, 11.8422, 33.9219) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.18
Barney Purple
#A00498
ΔE00 3.40
Medium Purple
#9E43A2
ΔE00 4.09
Barney
#AC1DB8
ΔE00 4.10
Ugly Purple
#A442A0
ΔE00 4.27
Purply
#983FB2
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22A9F #2AA22D
analogous
#692AA2 #A22A9F #A22A63
triadic
#A22A9F #9FA22A #2A9FA2
tetradic
#A22A9F #A2692A #2AA22D #2A63A2
square
#A22A9F #A2692A #2AA22D #2A63A2
split-complementary
#A22A9F #63A22A #2AA269
monochromatic
#411140 #711D6F #A22A9F #CD3DC9 #D96DD7
Accessibility & contrast
On white
6.23
#A22A9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#A22A9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22A9F
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22A9F | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#A83B62
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a22a9f; /* rgb */ color: rgb(162, 42, 159); /* oklch */ color: oklch(51.8% 0.201 329.1);
Tailwind
colors: {
custom: {
50: '#c170bc',
500: '#a22a9f',
950: '#000000',
},
}SCSS
$custom: #a22a9f; $custom-light: #c170bc; $custom-dark: #000000;
JSON
{
"hex": "#a22a9f",
"rgb": {
"r": 162,
"g": 42,
"b": 159
},
"hsl": {
"h": 301.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.51763,
"c": 0.20125,
"h": 329.1
},
"luminance": 0.11841
}Semantic roles & 50–950 ramp
primary
#A22A9F
secondary
#68C06A
accent
#E24A46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81