#A221C3#A221C3
#A221C3 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.4% C 0.238 H 317.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A221C3 |
|---|---|
| RGB | rgb(162, 33, 195) |
| HSL | hsl(288, 71%, 45%) |
| HSV | hsv(288, 83%, 76%) |
| CMYK | cmyk(16.9%, 83.1%, 0%, 23.5%) |
| CIE-LAB | lab(42.32, 70.21, -56.51) |
| CIE-LCH | lch(42.32, 90.13, 321.17°) |
| OKLab | oklab(53.44% 0.1764 -0.1592) |
| OKLCH | oklch(53.44% 0.238 317.9) |
| XYZ | xyz(25.2931, 12.7104, 52.7402) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.78
Barney
#AC1DB8
ΔE00 2.83
Vibrant Purple
#AD03DE
ΔE00 3.74
Purply
#983FB2
ΔE00 4.39
Darkviolet
#9400D3
ΔE00 4.51
Violet (survey)
#9A0EEA
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A221C3 #42C321
analogous
#5121C3 #A221C3 #C32193
triadic
#A221C3 #C3A221 #21C3A2
tetradic
#A221C3 #C35121 #42C321 #2193C3
square
#A221C3 #C35121 #42C321 #2193C3
split-complementary
#A221C3 #93C321 #21C351
monochromatic
#4B0F5A #77188F #A221C3 #BF42DF #D177E8
Accessibility & contrast
On white
5.93
#A221C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#A221C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A221C3
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A221C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A221C3 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#A14975
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a221c3; /* rgb */ color: rgb(162, 33, 195); /* oklch */ color: oklch(53.4% 0.238 317.9);
Tailwind
colors: {
custom: {
50: '#c26fd6',
500: '#a221c3',
950: '#000000',
},
}SCSS
$custom: #a221c3; $custom-light: #c26fd6; $custom-dark: #000000;
JSON
{
"hex": "#a221c3",
"rgb": {
"r": 162,
"g": 33,
"b": 195
},
"hsl": {
"h": 287.778,
"s": 71.053,
"l": 44.706
},
"oklch": {
"l": 0.53444,
"c": 0.23761,
"h": 317.9
},
"luminance": 0.12709
}Semantic roles & 50–950 ramp
primary
#A221C3
secondary
#84CF71
accent
#EE3A5F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83