#A22E9C#A22E9C
#A22E9C is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.195 H 330.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A22E9C |
|---|---|
| RGB | rgb(162, 46, 156) |
| HSL | hsl(303, 56%, 41%) |
| HSV | hsv(303, 72%, 64%) |
| CMYK | cmyk(0%, 71.6%, 3.7%, 36.5%) |
| CIE-LAB | lab(41.28, 59.55, -35.07) |
| CIE-LCH | lch(41.28, 69.11, 329.50°) |
| OKLab | oklab(51.93% 0.1688 -0.0967) |
| OKLCH | oklch(51.93% 0.195 330.2) |
| XYZ | xyz(21.8779, 12.0373, 32.6172) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.95
Medium Purple
#9E43A2
ΔE00 3.68
Ugly Purple
#A442A0
ΔE00 3.70
Barney Purple
#A00498
ΔE00 3.87
Barney
#AC1DB8
ΔE00 4.73
Purply
#983FB2
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22E9C #2EA234
analogous
#6E2EA2 #A22E9C #A22E62
triadic
#A22E9C #9CA22E #2E9CA2
tetradic
#A22E9C #A26E2E #2EA234 #2E62A2
square
#A22E9C #A26E2E #2EA234 #2E62A2
split-complementary
#A22E9C #62A22E #2EA26E
monochromatic
#431340 #72206E #A22E9C #CA43C3 #D773D2
Accessibility & contrast
On white
6.16
#A22E9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#A22E9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22E9C
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22E9C | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#506799
Tritanopia (blue-blind)
#A83D62
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a22e9c; /* rgb */ color: rgb(162, 46, 156); /* oklch */ color: oklch(51.9% 0.195 330.2);
Tailwind
colors: {
custom: {
50: '#c172b9',
500: '#a22e9c',
950: '#000000',
},
}SCSS
$custom: #a22e9c; $custom-light: #c172b9; $custom-dark: #000000;
JSON
{
"hex": "#a22e9c",
"rgb": {
"r": 162,
"g": 46,
"b": 156
},
"hsl": {
"h": 303.103,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.51934,
"c": 0.1945,
"h": 330.2
},
"luminance": 0.12036
}Semantic roles & 50–950 ramp
primary
#A22E9C
secondary
#6DBF71
accent
#DF5049
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80