#A642AA#A642AA
#A642AA is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.182 H 326.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A642AA |
|---|---|
| RGB | rgb(166, 66, 170) |
| HSL | hsl(298, 44%, 46%) |
| HSV | hsv(298, 61%, 67%) |
| CMYK | cmyk(2.4%, 61.2%, 0%, 33.3%) |
| CIE-LAB | lab(45.51, 54.94, -36.70) |
| CIE-LCH | lch(45.51, 66.07, 326.26°) |
| OKLab | oklab(55.36% 0.1513 -0.1015) |
| OKLCH | oklch(55.36% 0.182 326.1) |
| XYZ | xyz(24.9293, 14.9072, 39.5867) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.81
Ugly Purple
#A442A0
ΔE00 1.86
Purply
#983FB2
ΔE00 3.96
Barney
#AC1DB8
ΔE00 5.19
Purpley Pink
#C83CB9
ΔE00 6.43
Warm Purple
#952E8F
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A642AA #46AA42
analogous
#7242AA #A642AA #AA427A
triadic
#A642AA #AAA642 #42AAA6
tetradic
#A642AA #AA7242 #46AA42 #427AAA
square
#A642AA #AA7242 #46AA42 #427AAA
split-complementary
#A642AA #7AAA42 #42AA72
monochromatic
#502052 #7B317E #A642AA #C066C3 #D292D5
Accessibility & contrast
On white
5.27
#A642AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#A642AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A642AA
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A642AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A642AA | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3364AD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#AA5070
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a642aa; /* rgb */ color: rgb(166, 66, 170); /* oklch */ color: oklch(55.4% 0.182 326.1);
Tailwind
colors: {
custom: {
50: '#c37dc4',
500: '#a642aa',
950: '#000000',
},
}SCSS
$custom: #a642aa; $custom-light: #c37dc4; $custom-dark: #000000;
JSON
{
"hex": "#a642aa",
"rgb": {
"r": 166,
"g": 66,
"b": 170
},
"hsl": {
"h": 297.692,
"s": 44.068,
"l": 46.275
},
"oklch": {
"l": 0.55357,
"c": 0.18219,
"h": 326.1
},
"luminance": 0.14906
}Semantic roles & 50–950 ramp
primary
#A642AA
secondary
#8AC088
accent
#D45459
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81