#A646BF#A646BF
#A646BF is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.196 H 318.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A646BF |
|---|---|
| RGB | rgb(166, 70, 191) |
| HSL | hsl(288, 49%, 51%) |
| HSV | hsv(288, 63%, 75%) |
| CMYK | cmyk(13.1%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(47.30, 57.12, -46.16) |
| CIE-LCH | lch(47.30, 73.44, 321.06°) |
| OKLab | oklab(57.03% 0.1472 -0.129) |
| OKLCH | oklch(57.03% 0.196 318.8) |
| XYZ | xyz(27.3188, 16.2501, 50.9777) |
| Luminance | 0.1625 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.77
Medium Purple
#9E43A2
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 5.58
Barney
#AC1DB8
ΔE00 5.60
Ugly Purple
#A442A0
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646BF #5FBF46
analogous
#6946BF #A646BF #BF469B
triadic
#A646BF #BFA646 #46BFA6
tetradic
#A646BF #BF6946 #5FBF46 #469BBF
square
#A646BF #BF6946 #5FBF46 #469BBF
split-complementary
#A646BF #9BBF46 #46BF69
monochromatic
#592467 #803394 #A646BF #BC73CF #D2A1DE
Accessibility & contrast
On white
4.94
#A646BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#A646BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646BF
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646BF | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#A65B7C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a646bf; /* rgb */ color: rgb(166, 70, 191); /* oklch */ color: oklch(57.0% 0.196 318.8);
Tailwind
colors: {
custom: {
50: '#c480d3',
500: '#a646bf',
950: '#000000',
},
}SCSS
$custom: #a646bf; $custom-light: #c480d3; $custom-dark: #000000;
JSON
{
"hex": "#a646bf",
"rgb": {
"r": 166,
"g": 70,
"b": 191
},
"hsl": {
"h": 287.603,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.57029,
"c": 0.19574,
"h": 318.8
},
"luminance": 0.16249
}Semantic roles & 50–950 ramp
primary
#A646BF
secondary
#A1CB96
accent
#D8506C
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83