#A646E4#A646E4
#A646E4 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.4% C 0.231 H 308.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A646E4 |
|---|---|
| RGB | rgb(166, 70, 228) |
| HSL | hsl(276, 75%, 58%) |
| HSV | hsv(276, 69%, 89%) |
| CMYK | cmyk(27.2%, 69.3%, 0%, 10.6%) |
| CIE-LAB | lab(49.60, 64.76, -63.67) |
| CIE-LCH | lch(49.60, 90.82, 315.48°) |
| OKLab | oklab(59.42% 0.1448 -0.1804) |
| OKLCH | oklch(59.42% 0.231 308.8) |
| XYZ | xyz(31.9168, 18.0893, 75.1940) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.40
Electric Purple
#AA23FF
ΔE00 4.60
Neon Purple
#BC13FE
ΔE00 4.92
Lighter Purple
#A55AF4
ΔE00 5.02
Bright Purple
#BE03FD
ΔE00 5.22
Bright Violet
#AD0AFD
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646E4 #84E446
analogous
#5746E4 #A646E4 #E446D3
triadic
#A646E4 #E4A646 #46E4A6
tetradic
#A646E4 #E45746 #84E446 #46D3E4
square
#A646E4 #E45746 #84E446 #46D3E4
split-complementary
#A646E4 #D3E446 #46E457
monochromatic
#661699 #891ECF #A646E4 #C07BEC #D9B1F4
Accessibility & contrast
On white
4.55
#A646E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#A646E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A646E4
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A646E4 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#2277E1
Tritanopia (blue-blind)
#9D6990
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a646e4; /* rgb */ color: rgb(166, 70, 228); /* oklch */ color: oklch(59.4% 0.231 308.8);
Tailwind
colors: {
custom: {
50: '#c581ed',
500: '#a646e4',
950: '#000000',
},
}SCSS
$custom: #a646e4; $custom-light: #c581ed; $custom-dark: #000000;
JSON
{
"hex": "#a646e4",
"rgb": {
"r": 166,
"g": 70,
"b": 228
},
"hsl": {
"h": 276.456,
"s": 74.528,
"l": 58.431
},
"oklch": {
"l": 0.59419,
"c": 0.23129,
"h": 308.8
},
"luminance": 0.18089
}Semantic roles & 50–950 ramp
primary
#A646E4
secondary
#BCE2A4
accent
#F13780
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84