#A422A5#A422A5
#A422A5 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.214 H 327.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A422A5 |
|---|---|
| RGB | rgb(164, 34, 165) |
| HSL | hsl(300, 66%, 39%) |
| HSV | hsv(300, 79%, 65%) |
| CMYK | cmyk(0.6%, 79.4%, 0%, 35.3%) |
| CIE-LAB | lab(40.82, 65.16, -41.17) |
| CIE-LCH | lch(40.82, 77.08, 327.72°) |
| OKLab | oklab(51.84% 0.1814 -0.1143) |
| OKLCH | oklch(51.84% 0.214 327.8) |
| XYZ | xyz(22.6731, 11.7549, 36.6648) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.06
Barney Purple
#A00498
ΔE00 3.20
Warm Purple
#952E8F
ΔE00 4.14
Medium Purple
#9E43A2
ΔE00 4.90
Purply
#983FB2
ΔE00 5.00
Ugly Purple
#A442A0
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A422A5 #23A522
analogous
#6322A5 #A422A5 #A52265
triadic
#A422A5 #A5A422 #22A5A4
tetradic
#A422A5 #A56322 #23A522 #2265A5
square
#A422A5 #A56322 #23A522 #2265A5
split-complementary
#A422A5 #65A522 #22A563
monochromatic
#3F0D40 #721872 #A422A5 #D330D4 #DE63DF
Accessibility & contrast
On white
6.27
#A422A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#A422A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A422A5
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A422A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A422A5 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4866A2
Tritanopia (blue-blind)
#A93964
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a422a5; /* rgb */ color: rgb(164, 34, 165); /* oklch */ color: oklch(51.8% 0.214 327.8);
Tailwind
colors: {
custom: {
50: '#c36ec0',
500: '#a422a5',
950: '#000000',
},
}SCSS
$custom: #a422a5; $custom-light: #c36ec0; $custom-dark: #000000;
JSON
{
"hex": "#a422a5",
"rgb": {
"r": 164,
"g": 34,
"b": 165
},
"hsl": {
"h": 299.542,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.51839,
"c": 0.21444,
"h": 327.8
},
"luminance": 0.11753
}Semantic roles & 50–950 ramp
primary
#A422A5
secondary
#60C45F
accent
#E93F40
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81