#A22B99#A22B99
#A22B99 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.196 H 331.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A22B99 |
|---|---|
| RGB | rgb(162, 43, 153) |
| HSL | hsl(305, 58%, 40%) |
| HSV | hsv(305, 73%, 64%) |
| CMYK | cmyk(0%, 73.5%, 5.6%, 36.5%) |
| CIE-LAB | lab(40.75, 60.09, -34.09) |
| CIE-LCH | lch(40.75, 69.09, 330.44°) |
| OKLab | oklab(51.51% 0.1716 -0.0939) |
| OKLCH | oklch(51.51% 0.196 331.3) |
| XYZ | xyz(21.5139, 11.7108, 31.2581) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.59
Barney Purple
#A00498
ΔE00 3.47
Ugly Purple
#A442A0
ΔE00 4.17
Medium Purple
#9E43A2
ΔE00 4.25
Barney
#AC1DB8
ΔE00 5.16
Purply
#983FB2
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22B99 #2BA234
analogous
#702BA2 #A22B99 #A22B5D
triadic
#A22B99 #99A22B #2B99A2
tetradic
#A22B99 #A2702B #2BA234 #2B5DA2
square
#A22B99 #A2702B #2BA234 #2B5DA2
split-complementary
#A22B99 #5DA22B #2BA270
monochromatic
#41113E #721E6B #A22B99 #CC3EC1 #D96FD1
Accessibility & contrast
On white
6.28
#A22B99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#A22B99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22B99
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22B99 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#A9395F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a22b99; /* rgb */ color: rgb(162, 43, 153); /* oklch */ color: oklch(51.5% 0.196 331.3);
Tailwind
colors: {
custom: {
50: '#c171b7',
500: '#a22b99',
950: '#000000',
},
}SCSS
$custom: #a22b99; $custom-light: #c171b7; $custom-dark: #000000;
JSON
{
"hex": "#a22b99",
"rgb": {
"r": 162,
"g": 43,
"b": 153
},
"hsl": {
"h": 304.538,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.51506,
"c": 0.1956,
"h": 331.3
},
"luminance": 0.11709
}Semantic roles & 50–950 ramp
primary
#A22B99
secondary
#69C070
accent
#E15247
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80