#A646B4#A646B4
#A646B4 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.185 H 322.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A646B4 |
|---|---|
| RGB | rgb(166, 70, 180) |
| HSL | hsl(292, 44%, 49%) |
| HSV | hsv(292, 61%, 71%) |
| CMYK | cmyk(7.8%, 61.1%, 0%, 29.4%) |
| CIE-LAB | lab(46.69, 55.00, -40.71) |
| CIE-LCH | lch(46.69, 68.43, 323.49°) |
| OKLab | oklab(56.39% 0.1469 -0.1132) |
| OKLCH | oklch(56.39% 0.185 322.4) |
| XYZ | xyz(26.1534, 15.7839, 44.8402) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.38
Purply
#983FB2
ΔE00 3.59
Ugly Purple
#A442A0
ΔE00 3.77
Barney
#AC1DB8
ΔE00 5.43
Purpley Pink
#C83CB9
ΔE00 6.28
Amethyst
#9B5FC0
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646B4 #54B446
analogous
#6F46B4 #A646B4 #B4468B
triadic
#A646B4 #B4A646 #46B4A6
tetradic
#A646B4 #B46F46 #54B446 #468BB4
square
#A646B4 #B46F46 #54B446 #468BB4
split-complementary
#A646B4 #8BB446 #46B46F
monochromatic
#55245C #7D3588 #A646B4 #BC70C7 #D19CD8
Accessibility & contrast
On white
5.05
#A646B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#A646B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646B4
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646B4 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3068B7
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#A85777
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a646b4; /* rgb */ color: rgb(166, 70, 180); /* oklch */ color: oklch(56.4% 0.185 322.4);
Tailwind
colors: {
custom: {
50: '#c37fcb',
500: '#a646b4',
950: '#000000',
},
}SCSS
$custom: #a646b4; $custom-light: #c37fcb; $custom-dark: #000000;
JSON
{
"hex": "#a646b4",
"rgb": {
"r": 166,
"g": 70,
"b": 180
},
"hsl": {
"h": 292.364,
"s": 44,
"l": 49.02
},
"oklch": {
"l": 0.56389,
"c": 0.18545,
"h": 322.4
},
"luminance": 0.15783
}Semantic roles & 50–950 ramp
primary
#A646B4
secondary
#98C591
accent
#D45464
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82