#A031A2#A031A2
#A031A2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.195 H 327.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A031A2 |
|---|---|
| RGB | rgb(160, 49, 162) |
| HSL | hsl(299, 54%, 41%) |
| HSV | hsv(299, 70%, 64%) |
| CMYK | cmyk(1.2%, 69.8%, 0%, 36.5%) |
| CIE-LAB | lab(41.66, 59.01, -38.09) |
| CIE-LCH | lch(41.66, 70.23, 327.16°) |
| OKLab | oklab(52.25% 0.1636 -0.1055) |
| OKLCH | oklch(52.25% 0.195 327.2) |
| XYZ | xyz(22.1168, 12.2804, 35.3809) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.20
Warm Purple
#952E8F
ΔE00 3.62
Ugly Purple
#A442A0
ΔE00 3.63
Barney
#AC1DB8
ΔE00 3.88
Purply
#983FB2
ΔE00 4.11
Barney Purple
#A00498
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A031A2 #33A231
analogous
#6831A2 #A031A2 #A2316C
triadic
#A031A2 #A2A031 #31A2A0
tetradic
#A031A2 #A26831 #33A231 #316CA2
square
#A031A2 #A26831 #33A231 #316CA2
split-complementary
#A031A2 #6CA231 #31A268
monochromatic
#431544 #722373 #A031A2 #C648C8 #D477D6
Accessibility & contrast
On white
6.08
#A031A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#A031A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A031A2
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A031A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A031A2 | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#A54266
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a031a2; /* rgb */ color: rgb(160, 49, 162); /* oklch */ color: oklch(52.3% 0.195 327.2);
Tailwind
colors: {
custom: {
50: '#bf73be',
500: '#a031a2',
950: '#000000',
},
}SCSS
$custom: #a031a2; $custom-light: #bf73be; $custom-dark: #000000;
JSON
{
"hex": "#a031a2",
"rgb": {
"r": 160,
"g": 49,
"b": 162
},
"hsl": {
"h": 298.938,
"s": 53.555,
"l": 41.373
},
"oklch": {
"l": 0.52251,
"c": 0.19471,
"h": 327.2
},
"luminance": 0.12279
}Semantic roles & 50–950 ramp
primary
#A031A2
secondary
#72BE71
accent
#DD4B4D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81