#A22F9E#A22F9E
#A22F9E is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.195 H 329.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A22F9E |
|---|---|
| RGB | rgb(162, 47, 158) |
| HSL | hsl(302, 55%, 41%) |
| HSV | hsv(302, 71%, 64%) |
| CMYK | cmyk(0%, 71%, 2.5%, 36.5%) |
| CIE-LAB | lab(41.51, 59.52, -35.91) |
| CIE-LCH | lch(41.51, 69.52, 328.90°) |
| OKLab | oklab(52.14% 0.1678 -0.0991) |
| OKLCH | oklch(52.14% 0.195 329.4) |
| XYZ | xyz(22.0882, 12.1847, 33.5296) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.20
Medium Purple
#9E43A2
ΔE00 3.45
Ugly Purple
#A442A0
ΔE00 3.55
Barney Purple
#A00498
ΔE00 4.05
Barney
#AC1DB8
ΔE00 4.43
Purply
#983FB2
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22F9E #2FA233
analogous
#6C2FA2 #A22F9E #A22F64
triadic
#A22F9E #9EA22F #2F9EA2
tetradic
#A22F9E #A26C2F #2FA233 #2F64A2
square
#A22F9E #A26C2F #2FA233 #2F64A2
split-complementary
#A22F9E #64A22F #2FA26C
monochromatic
#431341 #732170 #A22F9E #C945C4 #D775D3
Accessibility & contrast
On white
6.11
#A22F9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#A22F9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22F9E
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22F9E | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#50679B
Tritanopia (blue-blind)
#A83E63
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a22f9e; /* rgb */ color: rgb(162, 47, 158); /* oklch */ color: oklch(52.1% 0.195 329.4);
Tailwind
colors: {
custom: {
50: '#c173bb',
500: '#a22f9e',
950: '#000000',
},
}SCSS
$custom: #a22f9e; $custom-light: #c173bb; $custom-dark: #000000;
JSON
{
"hex": "#a22f9e",
"rgb": {
"r": 162,
"g": 47,
"b": 158
},
"hsl": {
"h": 302.087,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.52136,
"c": 0.19491,
"h": 329.4
},
"luminance": 0.12183
}Semantic roles & 50–950 ramp
primary
#A22F9E
secondary
#6EBF71
accent
#DE4F49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81