#A646BA#A646BA
#A646BA is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.191 H 320.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A646BA |
|---|---|
| RGB | rgb(166, 70, 186) |
| HSL | hsl(290, 46%, 50%) |
| HSV | hsv(290, 62%, 73%) |
| CMYK | cmyk(10.8%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(47.02, 56.15, -43.70) |
| CIE-LCH | lch(47.02, 71.15, 322.11°) |
| OKLab | oklab(56.73% 0.1471 -0.1219) |
| OKLCH | oklch(56.73% 0.191 320.4) |
| XYZ | xyz(26.7779, 16.0337, 48.1292) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.55
Medium Purple
#9E43A2
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 4.83
Barney
#AC1DB8
ΔE00 5.43
Darkorchid
#9932CC
ΔE00 6.05
Amethyst
#9B5FC0
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646BA #5ABA46
analogous
#6C46BA #A646BA #BA4694
triadic
#A646BA #BAA646 #46BAA6
tetradic
#A646BA #BA6C46 #5ABA46 #4694BA
square
#A646BA #BA6C46 #5ABA46 #4694BA
split-complementary
#A646BA #94BA46 #46BA6C
monochromatic
#572461 #7F358E #A646BA #BB73CB #D19FDB
Accessibility & contrast
On white
4.99
#A646BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#A646BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646BA
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646BA | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#A7597A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a646ba; /* rgb */ color: rgb(166, 70, 186); /* oklch */ color: oklch(56.7% 0.191 320.4);
Tailwind
colors: {
custom: {
50: '#c380cf',
500: '#a646ba',
950: '#000000',
},
}SCSS
$custom: #a646ba; $custom-light: #c380cf; $custom-dark: #000000;
JSON
{
"hex": "#a646ba",
"rgb": {
"r": 166,
"g": 70,
"b": 186
},
"hsl": {
"h": 289.655,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.56734,
"c": 0.19103,
"h": 320.4
},
"luminance": 0.16032
}Semantic roles & 50–950 ramp
primary
#A646BA
secondary
#9DC894
accent
#D55269
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82