#A22B9E#A22B9E
#A22B9E is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 329.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A22B9E |
|---|---|
| RGB | rgb(162, 43, 158) |
| HSL | hsl(302, 58%, 40%) |
| HSV | hsv(302, 73%, 64%) |
| CMYK | cmyk(0%, 73.5%, 2.5%, 36.5%) |
| CIE-LAB | lab(41.02, 60.90, -36.67) |
| CIE-LCH | lch(41.02, 71.09, 328.95°) |
| OKLab | oklab(51.79% 0.1717 -0.1013) |
| OKLCH | oklch(51.79% 0.199 329.5) |
| XYZ | xyz(21.9356, 11.8794, 33.4788) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.07
Barney Purple
#A00498
ΔE00 3.49
Medium Purple
#9E43A2
ΔE00 3.99
Ugly Purple
#A442A0
ΔE00 4.12
Barney
#AC1DB8
ΔE00 4.29
Purply
#983FB2
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22B9E #2BA22F
analogous
#6B2BA2 #A22B9E #A22B62
triadic
#A22B9E #9EA22B #2B9EA2
tetradic
#A22B9E #A26B2B #2BA22F #2B62A2
square
#A22B9E #A26B2B #2BA22F #2B62A2
split-complementary
#A22B9E #62A22B #2BA26B
monochromatic
#411140 #721E6F #A22B9E #CC3EC7 #D96FD5
Accessibility & contrast
On white
6.22
#A22B9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#A22B9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22B9E
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22B9E | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A57A1
Deuteranopia (green-blind)
#4E669B
Tritanopia (blue-blind)
#A83C62
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a22b9e; /* rgb */ color: rgb(162, 43, 158); /* oklch */ color: oklch(51.8% 0.199 329.5);
Tailwind
colors: {
custom: {
50: '#c171bb',
500: '#a22b9e',
950: '#000000',
},
}SCSS
$custom: #a22b9e; $custom-light: #c171bb; $custom-dark: #000000;
JSON
{
"hex": "#a22b9e",
"rgb": {
"r": 162,
"g": 43,
"b": 158
},
"hsl": {
"h": 302.017,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.51788,
"c": 0.19941,
"h": 329.5
},
"luminance": 0.11878
}Semantic roles & 50–950 ramp
primary
#A22B9E
secondary
#69C06C
accent
#E14C47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81