#A22B9F#A22B9F
#A22B9F is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.200 H 329.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A22B9F |
|---|---|
| RGB | rgb(162, 43, 159) |
| HSL | hsl(302, 58%, 40%) |
| HSV | hsv(302, 73%, 64%) |
| CMYK | cmyk(0%, 73.5%, 1.9%, 36.5%) |
| CIE-LAB | lab(41.08, 61.07, -37.19) |
| CIE-LCH | lch(41.08, 71.50, 328.66°) |
| OKLab | oklab(51.85% 0.1718 -0.1028) |
| OKLCH | oklch(51.85% 0.2 329.1) |
| XYZ | xyz(22.0220, 11.9140, 33.9339) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.20
Barney Purple
#A00498
ΔE00 3.53
Medium Purple
#9E43A2
ΔE00 3.96
Barney
#AC1DB8
ΔE00 4.12
Ugly Purple
#A442A0
ΔE00 4.14
Purply
#983FB2
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22B9F #2BA22E
analogous
#6A2BA2 #A22B9F #A22B63
triadic
#A22B9F #9FA22B #2B9FA2
tetradic
#A22B9F #A26A2B #2BA22E #2B63A2
square
#A22B9F #A26A2B #2BA22E #2B63A2
split-complementary
#A22B9F #63A22B #2BA26A
monochromatic
#411140 #721E70 #A22B9F #CC3EC8 #D96FD6
Accessibility & contrast
On white
6.21
#A22B9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#A22B9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22B9F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22B9F | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1857A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#A83C63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a22b9f; /* rgb */ color: rgb(162, 43, 159); /* oklch */ color: oklch(51.8% 0.200 329.1);
Tailwind
colors: {
custom: {
50: '#c171bc',
500: '#a22b9f',
950: '#000000',
},
}SCSS
$custom: #a22b9f; $custom-light: #c171bc; $custom-dark: #000000;
JSON
{
"hex": "#a22b9f",
"rgb": {
"r": 162,
"g": 43,
"b": 159
},
"hsl": {
"h": 301.513,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.51846,
"c": 0.20019,
"h": 329.1
},
"luminance": 0.11912
}Semantic roles & 50–950 ramp
primary
#A22B9F
secondary
#69C06B
accent
#E14A47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81