#A22B97#A22B97
#A22B97 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.194 H 332.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A22B97 |
|---|---|
| RGB | rgb(162, 43, 151) |
| HSL | hsl(306, 58%, 40%) |
| HSV | hsv(306, 73%, 64%) |
| CMYK | cmyk(0%, 73.5%, 6.8%, 36.5%) |
| CIE-LAB | lab(40.65, 59.78, -33.04) |
| CIE-LCH | lch(40.65, 68.30, 331.07°) |
| OKLab | oklab(51.4% 0.1715 -0.0908) |
| OKLCH | oklch(51.4% 0.194 332.1) |
| XYZ | xyz(21.3501, 11.6452, 30.3954) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.48
Barney Purple
#A00498
ΔE00 3.54
Ugly Purple
#A442A0
ΔE00 4.25
Medium Purple
#9E43A2
ΔE00 4.40
Barney
#AC1DB8
ΔE00 5.52
Purply
#983FB2
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22B97 #2BA236
analogous
#712BA2 #A22B97 #A22B5C
triadic
#A22B97 #97A22B #2B97A2
tetradic
#A22B97 #A2712B #2BA236 #2B5CA2
square
#A22B97 #A2712B #2BA236 #2B5CA2
split-complementary
#A22B97 #5CA22B #2BA271
monochromatic
#41113D #721E6A #A22B97 #CC3EBF #D96FCF
Accessibility & contrast
On white
6.31
#A22B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#A22B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22B97
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22B97 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#516694
Tritanopia (blue-blind)
#A9385E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a22b97; /* rgb */ color: rgb(162, 43, 151); /* oklch */ color: oklch(51.4% 0.194 332.1);
Tailwind
colors: {
custom: {
50: '#c171b6',
500: '#a22b97',
950: '#000000',
},
}SCSS
$custom: #a22b97; $custom-light: #c171b6; $custom-dark: #000000;
JSON
{
"hex": "#a22b97",
"rgb": {
"r": 162,
"g": 43,
"b": 151
},
"hsl": {
"h": 305.546,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.51396,
"c": 0.19409,
"h": 332.1
},
"luminance": 0.11644
}Semantic roles & 50–950 ramp
primary
#A22B97
secondary
#69C071
accent
#E15547
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80