#A641AA#A641AA
#A641AA is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.184 H 326.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A641AA |
|---|---|
| RGB | rgb(166, 65, 170) |
| HSL | hsl(298, 45%, 46%) |
| HSV | hsv(298, 62%, 67%) |
| CMYK | cmyk(2.4%, 61.8%, 0%, 33.3%) |
| CIE-LAB | lab(45.35, 55.38, -36.95) |
| CIE-LCH | lch(45.35, 66.58, 326.29°) |
| OKLab | oklab(55.24% 0.1525 -0.1022) |
| OKLCH | oklch(55.24% 0.184 326.2) |
| XYZ | xyz(24.8714, 14.7914, 39.5674) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.80
Ugly Purple
#A442A0
ΔE00 1.88
Purply
#983FB2
ΔE00 3.87
Barney
#AC1DB8
ΔE00 5.01
Purpley Pink
#C83CB9
ΔE00 6.50
Warm Purple
#952E8F
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A641AA #45AA41
analogous
#7141AA #A641AA #AA4179
triadic
#A641AA #AAA641 #41AAA6
tetradic
#A641AA #AA7141 #45AA41 #4179AA
square
#A641AA #AA7141 #45AA41 #4179AA
split-complementary
#A641AA #79AA41 #41AA71
monochromatic
#501F51 #7B307E #A641AA #C064C4 #D291D5
Accessibility & contrast
On white
5.31
#A641AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#A641AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A641AA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A641AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A641AA | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#AA4F70
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a641aa; /* rgb */ color: rgb(166, 65, 170); /* oklch */ color: oklch(55.2% 0.184 326.2);
Tailwind
colors: {
custom: {
50: '#c37cc4',
500: '#a641aa',
950: '#000000',
},
}SCSS
$custom: #a641aa; $custom-light: #c37cc4; $custom-dark: #000000;
JSON
{
"hex": "#a641aa",
"rgb": {
"r": 166,
"g": 65,
"b": 170
},
"hsl": {
"h": 297.714,
"s": 44.681,
"l": 46.078
},
"oklch": {
"l": 0.55241,
"c": 0.18361,
"h": 326.2
},
"luminance": 0.1479
}Semantic roles & 50–950 ramp
primary
#A641AA
secondary
#89C087
accent
#D45358
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81