#A646BE#A646BE
#A646BE is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.195 H 319.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A646BE |
|---|---|
| RGB | rgb(166, 70, 190) |
| HSL | hsl(288, 48%, 51%) |
| HSV | hsv(288, 63%, 75%) |
| CMYK | cmyk(12.6%, 63.2%, 0%, 25.5%) |
| CIE-LAB | lab(47.24, 56.93, -45.67) |
| CIE-LCH | lch(47.24, 72.98, 321.26°) |
| OKLab | oklab(56.97% 0.1472 -0.1276) |
| OKLCH | oklch(56.97% 0.195 319.1) |
| XYZ | xyz(27.2091, 16.2062, 50.4001) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.71
Medium Purple
#9E43A2
ΔE00 4.98
Ugly Purple
#A442A0
ΔE00 5.52
Barney
#AC1DB8
ΔE00 5.56
Darkorchid
#9932CC
ΔE00 5.67
Amethyst
#9B5FC0
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646BE #5EBE46
analogous
#6A46BE #A646BE #BE469A
triadic
#A646BE #BEA646 #46BEA6
tetradic
#A646BE #BE6A46 #5EBE46 #469ABE
square
#A646BE #BE6A46 #5EBE46 #469ABE
split-complementary
#A646BE #9ABE46 #46BE6A
monochromatic
#592466 #803493 #A646BE #BC73CE #D2A1DE
Accessibility & contrast
On white
4.95
#A646BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#A646BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646BE
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646BE | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236AC2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#A65A7C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a646be; /* rgb */ color: rgb(166, 70, 190); /* oklch */ color: oklch(57.0% 0.195 319.1);
Tailwind
colors: {
custom: {
50: '#c480d2',
500: '#a646be',
950: '#000000',
},
}SCSS
$custom: #a646be; $custom-light: #c480d2; $custom-dark: #000000;
JSON
{
"hex": "#a646be",
"rgb": {
"r": 166,
"g": 70,
"b": 190
},
"hsl": {
"h": 288,
"s": 48,
"l": 50.98
},
"oklch": {
"l": 0.56969,
"c": 0.1948,
"h": 319.1
},
"luminance": 0.16205
}Semantic roles & 50–950 ramp
primary
#A646BE
secondary
#A0CA95
accent
#D8506B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82