#A431A2#A431A2
#A431A2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.197 H 328.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A431A2 |
|---|---|
| RGB | rgb(164, 49, 162) |
| HSL | hsl(301, 54%, 42%) |
| HSV | hsv(301, 70%, 64%) |
| CMYK | cmyk(0%, 70.1%, 1.2%, 35.7%) |
| CIE-LAB | lab(42.31, 59.94, -37.02) |
| CIE-LCH | lch(42.31, 70.45, 328.30°) |
| OKLab | oklab(52.84% 0.1681 -0.1023) |
| OKLCH | oklch(52.84% 0.197 328.7) |
| XYZ | xyz(22.9295, 12.6994, 35.4190) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.03
Ugly Purple
#A442A0
ΔE00 3.14
Barney
#AC1DB8
ΔE00 3.93
Warm Purple
#952E8F
ΔE00 3.98
Purply
#983FB2
ΔE00 4.51
Barney Purple
#A00498
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A431A2 #31A433
analogous
#6C31A4 #A431A2 #A43169
triadic
#A431A2 #A2A431 #31A2A4
tetradic
#A431A2 #A46C31 #31A433 #3169A4
square
#A431A2 #A46C31 #31A433 #3169A4
split-complementary
#A431A2 #69A431 #31A46C
monochromatic
#461545 #752373 #A431A2 #C949C7 #D779D5
Accessibility & contrast
On white
5.93
#A431A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#A431A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A431A2
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A431A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A431A2 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#A94166
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a431a2; /* rgb */ color: rgb(164, 49, 162); /* oklch */ color: oklch(52.8% 0.197 328.7);
Tailwind
colors: {
custom: {
50: '#c274be',
500: '#a431a2',
950: '#000000',
},
}SCSS
$custom: #a431a2; $custom-light: #c274be; $custom-dark: #000000;
JSON
{
"hex": "#a431a2",
"rgb": {
"r": 164,
"g": 49,
"b": 162
},
"hsl": {
"h": 301.043,
"s": 53.991,
"l": 41.765
},
"oklch": {
"l": 0.52844,
"c": 0.19676,
"h": 328.7
},
"luminance": 0.12698
}Semantic roles & 50–950 ramp
primary
#A431A2
secondary
#72BF73
accent
#DD4D4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81