#A22A96#A22A96
#A22A96 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.194 H 332.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A22A96 |
|---|---|
| RGB | rgb(162, 42, 150) |
| HSL | hsl(306, 59%, 40%) |
| HSV | hsv(306, 74%, 64%) |
| CMYK | cmyk(0%, 74.1%, 7.4%, 36.5%) |
| CIE-LAB | lab(40.48, 59.95, -32.71) |
| CIE-LCH | lch(40.48, 68.29, 331.39°) |
| OKLab | oklab(51.26% 0.1724 -0.0899) |
| OKLCH | oklch(51.26% 0.194 332.5) |
| XYZ | xyz(21.2334, 11.5411, 29.9576) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.42
Barney Purple
#A00498
ΔE00 3.45
Ugly Purple
#A442A0
ΔE00 4.43
Medium Purple
#9E43A2
ΔE00 4.60
Barney
#AC1DB8
ΔE00 5.68
Purply
#983FB2
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22A96 #2AA236
analogous
#722AA2 #A22A96 #A22A5A
triadic
#A22A96 #96A22A #2A96A2
tetradic
#A22A96 #A2722A #2AA236 #2A5AA2
square
#A22A96 #A2722A #2AA236 #2A5AA2
split-complementary
#A22A96 #5AA22A #2AA272
monochromatic
#41113C #711D69 #A22A96 #CD3DBE #D96DCE
Accessibility & contrast
On white
6.35
#A22A96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#A22A96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22A96
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22A96 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235599
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#A9375D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a22a96; /* rgb */ color: rgb(162, 42, 150); /* oklch */ color: oklch(51.3% 0.194 332.5);
Tailwind
colors: {
custom: {
50: '#c170b5',
500: '#a22a96',
950: '#000000',
},
}SCSS
$custom: #a22a96; $custom-light: #c170b5; $custom-dark: #000000;
JSON
{
"hex": "#a22a96",
"rgb": {
"r": 162,
"g": 42,
"b": 150
},
"hsl": {
"h": 306,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.51257,
"c": 0.19444,
"h": 332.5
},
"luminance": 0.11539
}Semantic roles & 50–950 ramp
primary
#A22A96
secondary
#68C071
accent
#E25546
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80