#A22B96#A22B96
#A22B96 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 332.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A22B96 |
|---|---|
| RGB | rgb(162, 43, 150) |
| HSL | hsl(306, 58%, 40%) |
| HSV | hsv(306, 73%, 64%) |
| CMYK | cmyk(0%, 73.5%, 7.4%, 36.5%) |
| CIE-LAB | lab(40.59, 59.62, -32.52) |
| CIE-LCH | lch(40.59, 67.91, 331.39°) |
| OKLab | oklab(51.34% 0.1715 -0.0893) |
| OKLCH | oklch(51.34% 0.193 332.5) |
| XYZ | xyz(21.2693, 11.6129, 29.9696) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.44
Barney Purple
#A00498
ΔE00 3.59
Ugly Purple
#A442A0
ΔE00 4.30
Medium Purple
#9E43A2
ΔE00 4.49
Barney
#AC1DB8
ΔE00 5.70
Purply
#983FB2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22B96 #2BA237
analogous
#722BA2 #A22B96 #A22B5B
triadic
#A22B96 #96A22B #2B96A2
tetradic
#A22B96 #A2722B #2BA237 #2B5BA2
square
#A22B96 #A2722B #2BA237 #2B5BA2
split-complementary
#A22B96 #5BA22B #2BA272
monochromatic
#41113C #721E69 #A22B96 #CC3EBE #D96FCE
Accessibility & contrast
On white
6.32
#A22B96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#A22B96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22B96
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22B96 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#526693
Tritanopia (blue-blind)
#A9385E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a22b96; /* rgb */ color: rgb(162, 43, 150); /* oklch */ color: oklch(51.3% 0.193 332.5);
Tailwind
colors: {
custom: {
50: '#c171b5',
500: '#a22b96',
950: '#000000',
},
}SCSS
$custom: #a22b96; $custom-light: #c171b5; $custom-dark: #000000;
JSON
{
"hex": "#a22b96",
"rgb": {
"r": 162,
"g": 43,
"b": 150
},
"hsl": {
"h": 306.05,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.51341,
"c": 0.19334,
"h": 332.5
},
"luminance": 0.11611
}Semantic roles & 50–950 ramp
primary
#A22B96
secondary
#69C072
accent
#E15647
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80