#A22FC8#A22FC8
#A22FC8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.230 H 316.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A22FC8 |
|---|---|
| RGB | rgb(162, 47, 200) |
| HSL | hsl(285, 62%, 48%) |
| HSV | hsv(285, 77%, 78%) |
| CMYK | cmyk(19%, 76.5%, 0%, 21.6%) |
| CIE-LAB | lab(44.07, 67.07, -56.60) |
| CIE-LCH | lch(44.07, 87.76, 319.84°) |
| OKLab | oklab(54.78% 0.1651 -0.1596) |
| OKLCH | oklch(54.78% 0.23 316) |
| XYZ | xyz(26.3405, 13.8856, 55.9251) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.85
Vibrant Purple
#AD03DE
ΔE00 3.45
Barney
#AC1DB8
ΔE00 3.68
Purply
#983FB2
ΔE00 3.88
Darkviolet
#9400D3
ΔE00 5.40
Violet (survey)
#9A0EEA
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22FC8 #55C82F
analogous
#552FC8 #A22FC8 #C82FA1
triadic
#A22FC8 #C8A22F #2FC8A2
tetradic
#A22FC8 #C8552F #55C82F #2FA1C8
square
#A22FC8 #C8552F #55C82F #2FA1C8
split-complementary
#A22FC8 #A1C82F #2FC855
monochromatic
#521865 #7A2396 #A22FC8 #BA5CD9 #CF8DE4
Accessibility & contrast
On white
5.56
#A22FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#A22FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22FC8
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22FC8 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#9F527B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a22fc8; /* rgb */ color: rgb(162, 47, 200); /* oklch */ color: oklch(54.8% 0.230 316.0);
Tailwind
colors: {
custom: {
50: '#c274d9',
500: '#a22fc8',
950: '#000000',
},
}SCSS
$custom: #a22fc8; $custom-light: #c274d9; $custom-dark: #000000;
JSON
{
"hex": "#a22fc8",
"rgb": {
"r": 162,
"g": 47,
"b": 200
},
"hsl": {
"h": 285.098,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.54779,
"c": 0.22965,
"h": 316
},
"luminance": 0.13885
}Semantic roles & 50–950 ramp
primary
#A22FC8
secondary
#97CF84
accent
#E5436B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83