#A646C0#A646C0
#A646C0 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.197 H 318.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A646C0 |
|---|---|
| RGB | rgb(166, 70, 192) |
| HSL | hsl(287, 49%, 51%) |
| HSV | hsv(287, 64%, 75%) |
| CMYK | cmyk(13.5%, 63.5%, 0%, 24.7%) |
| CIE-LAB | lab(47.36, 57.32, -46.65) |
| CIE-LCH | lch(47.36, 73.90, 320.86°) |
| OKLab | oklab(57.09% 0.1472 -0.1305) |
| OKLCH | oklch(57.09% 0.197 318.4) |
| XYZ | xyz(27.4292, 16.2942, 51.5592) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.84
Medium Purple
#9E43A2
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 5.50
Barney
#AC1DB8
ΔE00 5.65
Amethyst
#9B5FC0
ΔE00 5.85
Ugly Purple
#A442A0
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646C0 #60C046
analogous
#6946C0 #A646C0 #C0469D
triadic
#A646C0 #C0A646 #46C0A6
tetradic
#A646C0 #C06946 #60C046 #469DC0
square
#A646C0 #C06946 #60C046 #469DC0
split-complementary
#A646C0 #9DC046 #46C069
monochromatic
#5A2368 #813396 #A646C0 #BC74D0 #D2A1DF
Accessibility & contrast
On white
4.93
#A646C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#A646C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646C0
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646C0 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206AC4
Deuteranopia (green-blind)
#4C73BD
Tritanopia (blue-blind)
#A65B7D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a646c0; /* rgb */ color: rgb(166, 70, 192); /* oklch */ color: oklch(57.1% 0.197 318.4);
Tailwind
colors: {
custom: {
50: '#c480d3',
500: '#a646c0',
950: '#000000',
},
}SCSS
$custom: #a646c0; $custom-light: #c480d3; $custom-dark: #000000;
JSON
{
"hex": "#a646c0",
"rgb": {
"r": 166,
"g": 70,
"b": 192
},
"hsl": {
"h": 287.213,
"s": 49.194,
"l": 51.373
},
"oklch": {
"l": 0.57089,
"c": 0.19668,
"h": 318.4
},
"luminance": 0.16293
}Semantic roles & 50–950 ramp
primary
#A646C0
secondary
#A1CC96
accent
#D94F6C
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83