#A646BB#A646BB
#A646BB is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.192 H 320.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A646BB |
|---|---|
| RGB | rgb(166, 70, 187) |
| HSL | hsl(289, 46%, 50%) |
| HSV | hsv(289, 63%, 73%) |
| CMYK | cmyk(11.2%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(47.07, 56.34, -44.19) |
| CIE-LCH | lch(47.07, 71.61, 321.89°) |
| OKLab | oklab(56.79% 0.1471 -0.1233) |
| OKLCH | oklch(56.79% 0.192 320) |
| XYZ | xyz(26.8846, 16.0764, 48.6910) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.58
Medium Purple
#9E43A2
ΔE00 4.49
Ugly Purple
#A442A0
ΔE00 5.01
Barney
#AC1DB8
ΔE00 5.45
Darkorchid
#9932CC
ΔE00 5.95
Amethyst
#9B5FC0
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646BB #5BBB46
analogous
#6C46BB #A646BB #BB4695
triadic
#A646BB #BBA646 #46BBA6
tetradic
#A646BB #BB6C46 #5BBB46 #4695BB
square
#A646BB #BB6C46 #5BBB46 #4695BB
split-complementary
#A646BB #95BB46 #46BB6C
monochromatic
#572462 #7F358F #A646BB #BC73CB #D1A0DC
Accessibility & contrast
On white
4.98
#A646BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#A646BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646BB
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646BB | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#A7597A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a646bb; /* rgb */ color: rgb(166, 70, 187); /* oklch */ color: oklch(56.8% 0.192 320.0);
Tailwind
colors: {
custom: {
50: '#c380d0',
500: '#a646bb',
950: '#000000',
},
}SCSS
$custom: #a646bb; $custom-light: #c380d0; $custom-dark: #000000;
JSON
{
"hex": "#a646bb",
"rgb": {
"r": 166,
"g": 70,
"b": 187
},
"hsl": {
"h": 289.231,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.56792,
"c": 0.19197,
"h": 320
},
"luminance": 0.16075
}Semantic roles & 50–950 ramp
primary
#A646BB
secondary
#9EC894
accent
#D6526A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82