#A646B2#A646B2
#A646B2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.184 H 323.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A646B2 |
|---|---|
| RGB | rgb(166, 70, 178) |
| HSL | hsl(293, 44%, 49%) |
| HSV | hsv(293, 61%, 70%) |
| CMYK | cmyk(6.7%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(46.58, 54.62, -39.71) |
| CIE-LCH | lch(46.58, 67.53, 323.98°) |
| OKLab | oklab(56.28% 0.1468 -0.1103) |
| OKLCH | oklch(56.28% 0.184 323.1) |
| XYZ | xyz(25.9511, 15.7030, 43.7749) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.07
Ugly Purple
#A442A0
ΔE00 3.42
Purply
#983FB2
ΔE00 3.68
Barney
#AC1DB8
ΔE00 5.48
Purpley Pink
#C83CB9
ΔE00 6.22
Amethyst
#9B5FC0
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646B2 #52B246
analogous
#7046B2 #A646B2 #B24688
triadic
#A646B2 #B2A646 #46B2A6
tetradic
#A646B2 #B27046 #52B246 #4688B2
square
#A646B2 #B27046 #52B246 #4688B2
split-complementary
#A646B2 #88B246 #46B270
monochromatic
#54235A #7D3586 #A646B2 #BD6FC6 #D19BD8
Accessibility & contrast
On white
5.07
#A646B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#A646B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646B2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646B2 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#A95675
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a646b2; /* rgb */ color: rgb(166, 70, 178); /* oklch */ color: oklch(56.3% 0.184 323.1);
Tailwind
colors: {
custom: {
50: '#c37fc9',
500: '#a646b2',
950: '#000000',
},
}SCSS
$custom: #a646b2; $custom-light: #c37fc9; $custom-dark: #000000;
JSON
{
"hex": "#a646b2",
"rgb": {
"r": 166,
"g": 70,
"b": 178
},
"hsl": {
"h": 293.333,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.56276,
"c": 0.18361,
"h": 323.1
},
"luminance": 0.15702
}Semantic roles & 50–950 ramp
primary
#A646B2
secondary
#96C490
accent
#D35563
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82