#A22FC4#A22FC4
#A22FC4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.226 H 317.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A22FC4 |
|---|---|
| RGB | rgb(162, 47, 196) |
| HSL | hsl(286, 61%, 48%) |
| HSV | hsv(286, 76%, 77%) |
| CMYK | cmyk(17.3%, 76%, 0%, 23.1%) |
| CIE-LAB | lab(43.80, 66.31, -54.71) |
| CIE-LCH | lch(43.80, 85.96, 320.47°) |
| OKLab | oklab(54.51% 0.1657 -0.154) |
| OKLCH | oklch(54.51% 0.226 317.1) |
| XYZ | xyz(25.8791, 13.7011, 53.4952) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.25
Barney
#AC1DB8
ΔE00 3.17
Purply
#983FB2
ΔE00 3.45
Vibrant Purple
#AD03DE
ΔE00 3.89
Darkviolet
#9400D3
ΔE00 5.61
Violet (survey)
#9A0EEA
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22FC4 #51C42F
analogous
#582FC4 #A22FC4 #C42F9B
triadic
#A22FC4 #C4A22F #2FC4A2
tetradic
#A22FC4 #C4582F #51C42F #2F9BC4
square
#A22FC4 #C4582F #51C42F #2F9BC4
split-complementary
#A22FC4 #9BC42F #2FC458
monochromatic
#501761 #792393 #A22FC4 #BA59D7 #CF8AE3
Accessibility & contrast
On white
5.61
#A22FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#A22FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22FC4
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22FC4 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#A05078
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a22fc4; /* rgb */ color: rgb(162, 47, 196); /* oklch */ color: oklch(54.5% 0.226 317.1);
Tailwind
colors: {
custom: {
50: '#c274d7',
500: '#a22fc4',
950: '#000000',
},
}SCSS
$custom: #a22fc4; $custom-light: #c274d7; $custom-dark: #000000;
JSON
{
"hex": "#a22fc4",
"rgb": {
"r": 162,
"g": 47,
"b": 196
},
"hsl": {
"h": 286.309,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.54505,
"c": 0.22623,
"h": 317.1
},
"luminance": 0.137
}Semantic roles & 50–950 ramp
primary
#A22FC4
secondary
#93CD82
accent
#E44368
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83