#A631A2#A631A2
#A631A2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.198 H 329.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A631A2 |
|---|---|
| RGB | rgb(166, 49, 162) |
| HSL | hsl(302, 54%, 42%) |
| HSV | hsv(302, 70%, 65%) |
| CMYK | cmyk(0%, 70.5%, 2.4%, 34.9%) |
| CIE-LAB | lab(42.63, 60.40, -36.48) |
| CIE-LCH | lch(42.63, 70.56, 328.87°) |
| OKLab | oklab(53.14% 0.1702 -0.1007) |
| OKLCH | oklch(53.14% 0.198 329.4) |
| XYZ | xyz(23.3456, 12.9140, 35.4385) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.96
Medium Purple
#9E43A2
ΔE00 3.03
Barney
#AC1DB8
ΔE00 4.02
Warm Purple
#952E8F
ΔE00 4.21
Purply
#983FB2
ΔE00 4.75
Barney Purple
#A00498
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A631A2 #31A635
analogous
#6F31A6 #A631A2 #A63168
triadic
#A631A2 #A2A631 #31A2A6
tetradic
#A631A2 #A66F31 #31A635 #3168A6
square
#A631A2 #A66F31 #31A635 #3168A6
split-complementary
#A631A2 #68A631 #31A66F
monochromatic
#471546 #772374 #A631A2 #CA4AC5 #D87AD4
Accessibility & contrast
On white
5.86
#A631A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#A631A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A631A2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A631A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A631A2 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225BA5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#AC4066
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a631a2; /* rgb */ color: rgb(166, 49, 162); /* oklch */ color: oklch(53.1% 0.198 329.4);
Tailwind
colors: {
custom: {
50: '#c474be',
500: '#a631a2',
950: '#000000',
},
}SCSS
$custom: #a631a2; $custom-light: #c474be; $custom-dark: #000000;
JSON
{
"hex": "#a631a2",
"rgb": {
"r": 166,
"g": 49,
"b": 162
},
"hsl": {
"h": 302.051,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.53142,
"c": 0.1978,
"h": 329.4
},
"luminance": 0.12912
}Semantic roles & 50–950 ramp
primary
#A631A2
secondary
#73C075
accent
#DE4F4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81