#A22BC3#A22BC3
#A22BC3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.229 H 317.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A22BC3 |
|---|---|
| RGB | rgb(162, 43, 195) |
| HSL | hsl(287, 64%, 47%) |
| HSV | hsv(287, 78%, 76%) |
| CMYK | cmyk(16.9%, 77.9%, 0%, 23.5%) |
| CIE-LAB | lab(43.29, 67.41, -54.96) |
| CIE-LCH | lch(43.29, 86.97, 320.81°) |
| OKLab | oklab(54.12% 0.1692 -0.1547) |
| OKLCH | oklch(54.12% 0.229 317.6) |
| XYZ | xyz(25.6131, 13.3504, 52.8469) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.39
Barney
#AC1DB8
ΔE00 2.89
Purply
#983FB2
ΔE00 3.64
Vibrant Purple
#AD03DE
ΔE00 3.85
Darkviolet
#9400D3
ΔE00 5.27
Violet (survey)
#9A0EEA
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22BC3 #4CC32B
analogous
#562BC3 #A22BC3 #C32B98
triadic
#A22BC3 #C3A22B #2BC3A2
tetradic
#A22BC3 #C3562B #4CC32B #2B98C3
square
#A22BC3 #C3562B #4CC32B #2B98C3
split-complementary
#A22BC3 #98C32B #2BC356
monochromatic
#4F155F #782091 #A22BC3 #BC52D9 #CF84E4
Accessibility & contrast
On white
5.72
#A22BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#A22BC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22BC3
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22BC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22BC3 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#306AC0
Tritanopia (blue-blind)
#A14D77
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a22bc3; /* rgb */ color: rgb(162, 43, 195); /* oklch */ color: oklch(54.1% 0.229 317.6);
Tailwind
colors: {
custom: {
50: '#c272d6',
500: '#a22bc3',
950: '#000000',
},
}SCSS
$custom: #a22bc3; $custom-light: #c272d6; $custom-dark: #000000;
JSON
{
"hex": "#a22bc3",
"rgb": {
"r": 162,
"g": 43,
"b": 195
},
"hsl": {
"h": 286.974,
"s": 63.866,
"l": 46.667
},
"oklch": {
"l": 0.54121,
"c": 0.22925,
"h": 317.6
},
"luminance": 0.13349
}Semantic roles & 50–950 ramp
primary
#A22BC3
secondary
#8ECD7D
accent
#E74165
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83