#A652AA#A652AA
#A652AA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.158 H 325.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A652AA |
|---|---|
| RGB | rgb(166, 82, 170) |
| HSL | hsl(297, 35%, 49%) |
| HSV | hsv(297, 52%, 67%) |
| CMYK | cmyk(2.4%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(48.32, 47.34, -32.28) |
| CIE-LCH | lch(48.32, 57.30, 325.71°) |
| OKLab | oklab(57.42% 0.1301 -0.0889) |
| OKLCH | oklch(57.42% 0.158 325.7) |
| XYZ | xyz(25.9983, 17.0452, 39.9431) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.97
Medium Purple
#9E43A2
ΔE00 4.24
Amethyst
#9B5FC0
ΔE00 6.10
Purpley Pink
#C83CB9
ΔE00 6.27
Purpleish
#98568D
ΔE00 6.48
Purply
#983FB2
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652AA #56AA52
analogous
#7A52AA #A652AA #AA5282
triadic
#A652AA #AAA652 #52AAA6
tetradic
#A652AA #AA7A52 #56AA52 #5282AA
square
#A652AA #AA7A52 #56AA52 #5282AA
split-complementary
#A652AA #82AA52 #52AA7A
monochromatic
#552A57 #7E3E81 #A652AA #BC7ABF #D1A4D3
Accessibility & contrast
On white
4.76
#A652AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#A652AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A652AA
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A652AA | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#6276A7
Tritanopia (blue-blind)
#AA5C76
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a652aa; /* rgb */ color: rgb(166, 82, 170); /* oklch */ color: oklch(57.4% 0.158 325.7);
Tailwind
colors: {
custom: {
50: '#c286c3',
500: '#a652aa',
950: '#000000',
},
}SCSS
$custom: #a652aa; $custom-light: #c286c3; $custom-dark: #000000;
JSON
{
"hex": "#a652aa",
"rgb": {
"r": 166,
"g": 82,
"b": 170
},
"hsl": {
"h": 297.273,
"s": 34.921,
"l": 49.412
},
"oklch": {
"l": 0.57415,
"c": 0.15754,
"h": 325.7
},
"luminance": 0.17044
}Semantic roles & 50–950 ramp
primary
#A652AA
secondary
#99C098
accent
#CB5D62
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B12
muted
#827C81