#A031A6#A031A6
#A031A6 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.198 H 325.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A031A6 |
|---|---|
| RGB | rgb(160, 49, 166) |
| HSL | hsl(297, 54%, 42%) |
| HSV | hsv(297, 70%, 65%) |
| CMYK | cmyk(3.6%, 70.5%, 0%, 34.9%) |
| CIE-LAB | lab(41.88, 59.70, -40.12) |
| CIE-LCH | lch(41.88, 71.93, 326.10°) |
| OKLab | oklab(52.49% 0.1637 -0.1114) |
| OKLCH | oklch(52.49% 0.198 325.7) |
| XYZ | xyz(22.4780, 12.4248, 37.2833) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.32
Medium Purple
#9E43A2
ΔE00 3.32
Purply
#983FB2
ΔE00 3.53
Ugly Purple
#A442A0
ΔE00 3.91
Warm Purple
#952E8F
ΔE00 4.22
Barney Purple
#A00498
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A031A6 #37A631
analogous
#6631A6 #A031A6 #A63172
triadic
#A031A6 #A6A031 #31A6A0
tetradic
#A031A6 #A66631 #37A631 #3172A6
square
#A031A6 #A66631 #37A631 #3172A6
split-complementary
#A031A6 #72A631 #31A666
monochromatic
#451547 #722377 #A031A6 #C34ACA #D37AD8
Accessibility & contrast
On white
6.03
#A031A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#A031A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A031A6
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A031A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A031A6 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155AA9
Deuteranopia (green-blind)
#4A68A3
Tritanopia (blue-blind)
#A44468
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a031a6; /* rgb */ color: rgb(160, 49, 166); /* oklch */ color: oklch(52.5% 0.198 325.7);
Tailwind
colors: {
custom: {
50: '#c074c1',
500: '#a031a6',
950: '#000000',
},
}SCSS
$custom: #a031a6; $custom-light: #c074c1; $custom-dark: #000000;
JSON
{
"hex": "#a031a6",
"rgb": {
"r": 160,
"g": 49,
"b": 166
},
"hsl": {
"h": 296.923,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.52486,
"c": 0.198,
"h": 325.7
},
"luminance": 0.12423
}Semantic roles & 50–950 ramp
primary
#A031A6
secondary
#77C073
accent
#DE4A52
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81