#A22A97#A22A97
#A22A97 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.195 H 332.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A22A97 |
|---|---|
| RGB | rgb(162, 42, 151) |
| HSL | hsl(306, 59%, 40%) |
| HSV | hsv(306, 74%, 64%) |
| CMYK | cmyk(0%, 74.1%, 6.8%, 36.5%) |
| CIE-LAB | lab(40.53, 60.11, -33.23) |
| CIE-LCH | lch(40.53, 68.68, 331.07°) |
| OKLab | oklab(51.31% 0.1725 -0.0914) |
| OKLCH | oklch(51.31% 0.195 332.1) |
| XYZ | xyz(21.3142, 11.5734, 30.3835) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.45
Barney Purple
#A00498
ΔE00 3.40
Ugly Purple
#A442A0
ΔE00 4.38
Medium Purple
#9E43A2
ΔE00 4.52
Barney
#AC1DB8
ΔE00 5.50
Purply
#983FB2
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22A97 #2AA235
analogous
#712AA2 #A22A97 #A22A5B
triadic
#A22A97 #97A22A #2A97A2
tetradic
#A22A97 #A2712A #2AA235 #2A5BA2
square
#A22A97 #A2712A #2AA235 #2A5BA2
split-complementary
#A22A97 #5BA22A #2AA271
monochromatic
#41113C #711D6A #A22A97 #CD3DBF #D96DCF
Accessibility & contrast
On white
6.34
#A22A97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#A22A97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22A97
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22A97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22A97 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#A9385E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a22a97; /* rgb */ color: rgb(162, 42, 151); /* oklch */ color: oklch(51.3% 0.195 332.1);
Tailwind
colors: {
custom: {
50: '#c170b6',
500: '#a22a97',
950: '#000000',
},
}SCSS
$custom: #a22a97; $custom-light: #c170b6; $custom-dark: #000000;
JSON
{
"hex": "#a22a97",
"rgb": {
"r": 162,
"g": 42,
"b": 151
},
"hsl": {
"h": 305.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.51312,
"c": 0.19519,
"h": 332.1
},
"luminance": 0.11572
}Semantic roles & 50–950 ramp
primary
#A22A97
secondary
#68C070
accent
#E25446
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80