#A22FC1#A22FC1
#A22FC1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.224 H 317.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A22FC1 |
|---|---|
| RGB | rgb(162, 47, 193) |
| HSL | hsl(287, 61%, 47%) |
| HSV | hsv(287, 76%, 76%) |
| CMYK | cmyk(16.1%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(43.60, 65.74, -53.28) |
| CIE-LCH | lch(43.60, 84.62, 320.98°) |
| OKLab | oklab(54.3% 0.1661 -0.1498) |
| OKLCH | oklch(54.3% 0.224 317.9) |
| XYZ | xyz(25.5411, 13.5658, 51.7148) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.62
Barney
#AC1DB8
ΔE00 2.82
Purply
#983FB2
ΔE00 3.16
Vibrant Purple
#AD03DE
ΔE00 4.25
Darkviolet
#9400D3
ΔE00 5.80
Medium Purple
#9E43A2
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22FC1 #4EC12F
analogous
#592FC1 #A22FC1 #C12F97
triadic
#A22FC1 #C1A22F #2FC1A2
tetradic
#A22FC1 #C1592F #4EC12F #2F97C1
square
#A22FC1 #C1592F #4EC12F #2F97C1
split-complementary
#A22FC1 #97C12F #2FC159
monochromatic
#4F175F #792390 #A22FC1 #BB57D6 #CF88E2
Accessibility & contrast
On white
5.66
#A22FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#A22FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22FC1
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22FC1 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#356BBE
Tritanopia (blue-blind)
#A14E77
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a22fc1; /* rgb */ color: rgb(162, 47, 193); /* oklch */ color: oklch(54.3% 0.224 317.9);
Tailwind
colors: {
custom: {
50: '#c274d4',
500: '#a22fc1',
950: '#000000',
},
}SCSS
$custom: #a22fc1; $custom-light: #c274d4; $custom-dark: #000000;
JSON
{
"hex": "#a22fc1",
"rgb": {
"r": 162,
"g": 47,
"b": 193
},
"hsl": {
"h": 287.26,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.54303,
"c": 0.22369,
"h": 317.9
},
"luminance": 0.13565
}Semantic roles & 50–950 ramp
primary
#A22FC1
secondary
#90CC80
accent
#E44466
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83