#A22EC3#A22EC3
#A22EC3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.226 H 317.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A22EC3 |
|---|---|
| RGB | rgb(162, 46, 195) |
| HSL | hsl(287, 62%, 47%) |
| HSV | hsv(287, 76%, 76%) |
| CMYK | cmyk(16.9%, 76.4%, 0%, 23.5%) |
| CIE-LAB | lab(43.62, 66.45, -54.42) |
| CIE-LCH | lch(43.62, 85.89, 320.68°) |
| OKLab | oklab(54.36% 0.1667 -0.1532) |
| OKLCH | oklch(54.36% 0.226 317.4) |
| XYZ | xyz(25.7262, 13.5766, 52.8846) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.37
Barney
#AC1DB8
ΔE00 3.00
Purply
#983FB2
ΔE00 3.42
Vibrant Purple
#AD03DE
ΔE00 3.96
Darkviolet
#9400D3
ΔE00 5.56
Violet (survey)
#9A0EEA
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22EC3 #4FC32E
analogous
#572EC3 #A22EC3 #C32E9A
triadic
#A22EC3 #C3A22E #2EC3A2
tetradic
#A22EC3 #C3572E #4FC32E #2E9AC3
square
#A22EC3 #C3572E #4FC32E #2E9AC3
split-complementary
#A22EC3 #9AC32E #2EC357
monochromatic
#501760 #792291 #A22EC3 #BB57D7 #CF88E3
Accessibility & contrast
On white
5.65
#A22EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#A22EC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22EC3
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22EC3 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#326AC0
Tritanopia (blue-blind)
#A14F78
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a22ec3; /* rgb */ color: rgb(162, 46, 195); /* oklch */ color: oklch(54.4% 0.226 317.4);
Tailwind
colors: {
custom: {
50: '#c274d6',
500: '#a22ec3',
950: '#000000',
},
}SCSS
$custom: #a22ec3; $custom-light: #c274d6; $custom-dark: #000000;
JSON
{
"hex": "#a22ec3",
"rgb": {
"r": 162,
"g": 46,
"b": 195
},
"hsl": {
"h": 286.711,
"s": 61.826,
"l": 47.255
},
"oklch": {
"l": 0.54356,
"c": 0.22638,
"h": 317.4
},
"luminance": 0.13576
}Semantic roles & 50–950 ramp
primary
#A22EC3
secondary
#91CD80
accent
#E54367
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83