#A22FA1#A22FA1
#A22FA1 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 328.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A22FA1 |
|---|---|
| RGB | rgb(162, 47, 161) |
| HSL | hsl(301, 55%, 41%) |
| HSV | hsv(301, 71%, 64%) |
| CMYK | cmyk(0%, 71%, 0.6%, 36.5%) |
| CIE-LAB | lab(41.67, 60.03, -37.45) |
| CIE-LCH | lch(41.67, 70.75, 328.04°) |
| OKLab | oklab(52.31% 0.1679 -0.1036) |
| OKLCH | oklch(52.31% 0.197 328.3) |
| XYZ | xyz(22.3496, 12.2892, 34.9062) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.38
Warm Purple
#952E8F
ΔE00 3.56
Ugly Purple
#A442A0
ΔE00 3.63
Barney
#AC1DB8
ΔE00 3.93
Barney Purple
#A00498
ΔE00 4.16
Purply
#983FB2
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22FA1 #2FA230
analogous
#692FA2 #A22FA1 #A22F67
triadic
#A22FA1 #A1A22F #2FA1A2
tetradic
#A22FA1 #A2692F #2FA230 #2F67A2
square
#A22FA1 #A2692F #2FA230 #2F67A2
split-complementary
#A22FA1 #67A22F #2FA269
monochromatic
#431343 #732172 #A22FA1 #C945C8 #D775D6
Accessibility & contrast
On white
6.07
#A22FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#A22FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22FA1
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22FA1 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C59A4
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#A74065
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a22fa1; /* rgb */ color: rgb(162, 47, 161); /* oklch */ color: oklch(52.3% 0.197 328.3);
Tailwind
colors: {
custom: {
50: '#c173bd',
500: '#a22fa1',
950: '#000000',
},
}SCSS
$custom: #a22fa1; $custom-light: #c173bd; $custom-dark: #000000;
JSON
{
"hex": "#a22fa1",
"rgb": {
"r": 162,
"g": 47,
"b": 161
},
"hsl": {
"h": 300.522,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.52307,
"c": 0.19728,
"h": 328.3
},
"luminance": 0.12288
}Semantic roles & 50–950 ramp
primary
#A22FA1
secondary
#6EBF6F
accent
#DE4B49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81