#A646B1#A646B1
#A646B1 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.183 H 323.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A646B1 |
|---|---|
| RGB | rgb(166, 70, 177) |
| HSL | hsl(294, 43%, 48%) |
| HSV | hsv(294, 60%, 69%) |
| CMYK | cmyk(6.2%, 60.5%, 0%, 30.6%) |
| CIE-LAB | lab(46.53, 54.43, -39.21) |
| CIE-LCH | lch(46.53, 67.08, 324.23°) |
| OKLab | oklab(56.22% 0.1468 -0.1088) |
| OKLCH | oklch(56.22% 0.183 323.5) |
| XYZ | xyz(25.8511, 15.6630, 43.2481) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.93
Ugly Purple
#A442A0
ΔE00 3.24
Purply
#983FB2
ΔE00 3.74
Barney
#AC1DB8
ΔE00 5.51
Purpley Pink
#C83CB9
ΔE00 6.20
Amethyst
#9B5FC0
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646B1 #51B146
analogous
#7046B1 #A646B1 #B14686
triadic
#A646B1 #B1A646 #46B1A6
tetradic
#A646B1 #B17046 #51B146 #4686B1
square
#A646B1 #B17046 #51B146 #4686B1
split-complementary
#A646B1 #86B146 #46B170
monochromatic
#542359 #7D3585 #A646B1 #BD6EC6 #D19AD7
Accessibility & contrast
On white
5.08
#A646B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#A646B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646B1
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646B1 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#A95675
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a646b1; /* rgb */ color: rgb(166, 70, 177); /* oklch */ color: oklch(56.2% 0.183 323.5);
Tailwind
colors: {
custom: {
50: '#c37fc9',
500: '#a646b1',
950: '#000000',
},
}SCSS
$custom: #a646b1; $custom-light: #c37fc9; $custom-dark: #000000;
JSON
{
"hex": "#a646b1",
"rgb": {
"r": 166,
"g": 70,
"b": 177
},
"hsl": {
"h": 293.832,
"s": 43.32,
"l": 48.431
},
"oklch": {
"l": 0.5622,
"c": 0.1827,
"h": 323.5
},
"luminance": 0.15662
}Semantic roles & 50–950 ramp
primary
#A646B1
secondary
#95C38F
accent
#D35562
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82