#A031A5#A031A5
#A031A5 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.197 H 326.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A031A5 |
|---|---|
| RGB | rgb(160, 49, 165) |
| HSL | hsl(297, 54%, 42%) |
| HSV | hsv(297, 70%, 65%) |
| CMYK | cmyk(3%, 70.3%, 0%, 35.3%) |
| CIE-LAB | lab(41.83, 59.53, -39.61) |
| CIE-LCH | lch(41.83, 71.51, 326.36°) |
| OKLab | oklab(52.43% 0.1637 -0.11) |
| OKLCH | oklch(52.43% 0.197 326.1) |
| XYZ | xyz(22.3866, 12.3883, 36.8021) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.27
Barney
#AC1DB8
ΔE00 3.45
Purply
#983FB2
ΔE00 3.67
Ugly Purple
#A442A0
ΔE00 3.83
Warm Purple
#952E8F
ΔE00 4.07
Barney Purple
#A00498
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A031A5 #36A531
analogous
#6631A5 #A031A5 #A53170
triadic
#A031A5 #A5A031 #31A5A0
tetradic
#A031A5 #A56631 #36A531 #3170A5
square
#A031A5 #A56631 #36A531 #3170A5
split-complementary
#A031A5 #70A531 #31A566
monochromatic
#441547 #722376 #A031A5 #C44AC9 #D379D7
Accessibility & contrast
On white
6.04
#A031A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#A031A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A031A5
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A031A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A031A5 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175AA8
Deuteranopia (green-blind)
#4B67A2
Tritanopia (blue-blind)
#A44368
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a031a5; /* rgb */ color: rgb(160, 49, 165); /* oklch */ color: oklch(52.4% 0.197 326.1);
Tailwind
colors: {
custom: {
50: '#c074c0',
500: '#a031a5',
950: '#000000',
},
}SCSS
$custom: #a031a5; $custom-light: #c074c0; $custom-dark: #000000;
JSON
{
"hex": "#a031a5",
"rgb": {
"r": 160,
"g": 49,
"b": 165
},
"hsl": {
"h": 297.414,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.52427,
"c": 0.19717,
"h": 326.1
},
"luminance": 0.12387
}Semantic roles & 50–950 ramp
primary
#A031A5
secondary
#75C072
accent
#DE4A51
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81