#A431A5#A431A5
#A431A5 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.199 H 327.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A431A5 |
|---|---|
| RGB | rgb(164, 49, 165) |
| HSL | hsl(299, 54%, 42%) |
| HSV | hsv(299, 70%, 65%) |
| CMYK | cmyk(0.6%, 70.3%, 0%, 35.3%) |
| CIE-LAB | lab(42.47, 60.44, -38.55) |
| CIE-LCH | lch(42.47, 71.69, 327.47°) |
| OKLab | oklab(53.02% 0.1681 -0.1068) |
| OKLCH | oklch(53.02% 0.199 327.6) |
| XYZ | xyz(23.1994, 12.8074, 36.8402) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.06
Ugly Purple
#A442A0
ΔE00 3.32
Barney
#AC1DB8
ΔE00 3.46
Purply
#983FB2
ΔE00 4.06
Warm Purple
#952E8F
ΔE00 4.34
Barney Purple
#A00498
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A431A5 #32A531
analogous
#6A31A5 #A431A5 #A5316C
triadic
#A431A5 #A5A431 #31A5A4
tetradic
#A431A5 #A56A31 #32A531 #316CA5
square
#A431A5 #A56A31 #32A531 #316CA5
split-complementary
#A431A5 #6CA531 #31A56A
monochromatic
#461547 #752376 #A431A5 #C84AC9 #D679D7
Accessibility & contrast
On white
5.90
#A431A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#A431A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A431A5
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A431A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A431A5 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#A94268
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a431a5; /* rgb */ color: rgb(164, 49, 165); /* oklch */ color: oklch(53.0% 0.199 327.6);
Tailwind
colors: {
custom: {
50: '#c274c0',
500: '#a431a5',
950: '#000000',
},
}SCSS
$custom: #a431a5; $custom-light: #c274c0; $custom-dark: #000000;
JSON
{
"hex": "#a431a5",
"rgb": {
"r": 164,
"g": 49,
"b": 165
},
"hsl": {
"h": 299.483,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.53016,
"c": 0.19916,
"h": 327.6
},
"luminance": 0.12806
}Semantic roles & 50–950 ramp
primary
#A431A5
secondary
#73C072
accent
#DE4A4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81