#A646D8#A646D8
#A646D8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.220 H 311.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A646D8 |
|---|---|
| RGB | rgb(166, 70, 216) |
| HSL | hsl(279, 65%, 56%) |
| HSV | hsv(279, 68%, 85%) |
| CMYK | cmyk(23.1%, 67.6%, 0%, 15.3%) |
| CIE-LAB | lab(48.82, 62.21, -58.12) |
| CIE-LCH | lch(48.82, 85.14, 316.95°) |
| OKLab | oklab(58.61% 0.1461 -0.1641) |
| OKLCH | oklch(58.61% 0.22 311.7) |
| XYZ | xyz(30.3084, 17.4459, 66.7232) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.44
Darkorchid
#9932CC
ΔE00 5.29
Electric Purple
#AA23FF
ΔE00 5.73
Neon Purple
#BC13FE
ΔE00 5.83
Mediumorchid
#BA55D3
ΔE00 5.95
Bright Purple
#BE03FD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646D8 #78D846
analogous
#5D46D8 #A646D8 #D846C1
triadic
#A646D8 #D8A646 #46D8A6
tetradic
#A646D8 #D85D46 #78D846 #46C1D8
square
#A646D8 #D85D46 #78D846 #46C1D8
split-complementary
#A646D8 #C1D846 #46D85D
monochromatic
#631C87 #8727BA #A646D8 #BE79E3 #D7ABED
Accessibility & contrast
On white
4.68
#A646D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#A646D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A646D8
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646D8 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3576D5
Tritanopia (blue-blind)
#A0648A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a646d8; /* rgb */ color: rgb(166, 70, 216); /* oklch */ color: oklch(58.6% 0.220 311.7);
Tailwind
colors: {
custom: {
50: '#c580e5',
500: '#a646d8',
950: '#000000',
},
}SCSS
$custom: #a646d8; $custom-light: #c580e5; $custom-dark: #000000;
JSON
{
"hex": "#a646d8",
"rgb": {
"r": 166,
"g": 70,
"b": 216
},
"hsl": {
"h": 279.452,
"s": 65.179,
"l": 56.078
},
"oklch": {
"l": 0.58606,
"c": 0.21968,
"h": 311.7
},
"luminance": 0.17445
}Semantic roles & 50–950 ramp
primary
#A646D8
secondary
#B3DB9F
accent
#E84079
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84