#A22FC3#A22FC3
#A22FC3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.225 H 317.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A22FC3 |
|---|---|
| RGB | rgb(162, 47, 195) |
| HSL | hsl(287, 61%, 47%) |
| HSV | hsv(287, 76%, 76%) |
| CMYK | cmyk(16.9%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(43.74, 66.12, -54.23) |
| CIE-LCH | lch(43.74, 85.52, 320.64°) |
| OKLab | oklab(54.44% 0.1658 -0.1526) |
| OKLCH | oklch(54.44% 0.225 317.4) |
| XYZ | xyz(25.7657, 13.6557, 52.8978) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.37
Barney
#AC1DB8
ΔE00 3.05
Purply
#983FB2
ΔE00 3.35
Vibrant Purple
#AD03DE
ΔE00 4.01
Darkviolet
#9400D3
ΔE00 5.67
Violet (survey)
#9A0EEA
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22FC3 #50C32F
analogous
#582FC3 #A22FC3 #C32F9A
triadic
#A22FC3 #C3A22F #2FC3A2
tetradic
#A22FC3 #C3582F #50C32F #2F9AC3
square
#A22FC3 #C3582F #50C32F #2F9AC3
split-complementary
#A22FC3 #9AC32F #2FC358
monochromatic
#501760 #792392 #A22FC3 #BB58D7 #CF8AE3
Accessibility & contrast
On white
5.63
#A22FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#A22FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22FC3
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22FC3 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#336BC0
Tritanopia (blue-blind)
#A04F78
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a22fc3; /* rgb */ color: rgb(162, 47, 195); /* oklch */ color: oklch(54.4% 0.225 317.4);
Tailwind
colors: {
custom: {
50: '#c274d6',
500: '#a22fc3',
950: '#000000',
},
}SCSS
$custom: #a22fc3; $custom-light: #c274d6; $custom-dark: #000000;
JSON
{
"hex": "#a22fc3",
"rgb": {
"r": 162,
"g": 47,
"b": 195
},
"hsl": {
"h": 286.622,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.54437,
"c": 0.22539,
"h": 317.4
},
"luminance": 0.13655
}Semantic roles & 50–950 ramp
primary
#A22FC3
secondary
#92CD81
accent
#E44467
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83