#A646C2#A646C2
#A646C2 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.2% C 0.199 H 317.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A646C2 |
|---|---|
| RGB | rgb(166, 70, 194) |
| HSL | hsl(286, 50%, 52%) |
| HSV | hsv(286, 64%, 76%) |
| CMYK | cmyk(14.4%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(47.47, 57.72, -47.63) |
| CIE-LCH | lch(47.47, 74.83, 320.47°) |
| OKLab | oklab(57.21% 0.1472 -0.1333) |
| OKLCH | oklch(57.21% 0.199 317.8) |
| XYZ | xyz(27.6523, 16.3835, 52.7342) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.99
Darkorchid
#9932CC
ΔE00 5.36
Medium Purple
#9E43A2
ΔE00 5.63
Barney
#AC1DB8
ΔE00 5.76
Amethyst
#9B5FC0
ΔE00 5.81
Mediumorchid
#BA55D3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646C2 #62C246
analogous
#6846C2 #A646C2 #C246A0
triadic
#A646C2 #C2A646 #46C2A6
tetradic
#A646C2 #C26846 #62C246 #46A0C2
square
#A646C2 #C26846 #62C246 #46A0C2
split-complementary
#A646C2 #A0C246 #46C268
monochromatic
#5A236A #813299 #A646C2 #BC74D1 #D2A2E0
Accessibility & contrast
On white
4.91
#A646C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#A646C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646C2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646C2 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6AC6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#A55C7E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a646c2; /* rgb */ color: rgb(166, 70, 194); /* oklch */ color: oklch(57.2% 0.199 317.8);
Tailwind
colors: {
custom: {
50: '#c480d5',
500: '#a646c2',
950: '#000000',
},
}SCSS
$custom: #a646c2; $custom-light: #c480d5; $custom-dark: #000000;
JSON
{
"hex": "#a646c2",
"rgb": {
"r": 166,
"g": 70,
"b": 194
},
"hsl": {
"h": 286.452,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.5721,
"c": 0.19858,
"h": 317.8
},
"luminance": 0.16382
}Semantic roles & 50–950 ramp
primary
#A646C2
secondary
#A3CD97
accent
#DA4E6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83