#A646E3#A646E3
#A646E3 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.4% C 0.230 H 309.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A646E3 |
|---|---|
| RGB | rgb(166, 70, 227) |
| HSL | hsl(277, 74%, 58%) |
| HSV | hsv(277, 69%, 89%) |
| CMYK | cmyk(26.9%, 69.2%, 0%, 11%) |
| CIE-LAB | lab(49.54, 64.54, -63.21) |
| CIE-LCH | lch(49.54, 90.34, 315.60°) |
| OKLab | oklab(59.35% 0.1449 -0.179) |
| OKLCH | oklch(59.35% 0.23 309) |
| XYZ | xyz(31.7784, 18.0339, 74.4650) |
| Luminance | 0.1803 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.46
Electric Purple
#AA23FF
ΔE00 4.67
Neon Purple
#BC13FE
ΔE00 4.97
Lighter Purple
#A55AF4
ΔE00 5.11
Bright Purple
#BE03FD
ΔE00 5.26
Bright Violet
#AD0AFD
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646E3 #83E346
analogous
#5746E3 #A646E3 #E346D1
triadic
#A646E3 #E3A646 #46E3A6
tetradic
#A646E3 #E35746 #83E346 #46D1E3
square
#A646E3 #E35746 #83E346 #46D1E3
split-complementary
#A646E3 #D1E346 #46E357
monochromatic
#661798 #891FCD #A646E3 #C07BEB #D9B0F3
Accessibility & contrast
On white
4.56
#A646E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#A646E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A646E3
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A646E3 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#2477E0
Tritanopia (blue-blind)
#9D6990
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a646e3; /* rgb */ color: rgb(166, 70, 227); /* oklch */ color: oklch(59.4% 0.230 309.0);
Tailwind
colors: {
custom: {
50: '#c581ed',
500: '#a646e3',
950: '#000000',
},
}SCSS
$custom: #a646e3; $custom-light: #c581ed; $custom-dark: #000000;
JSON
{
"hex": "#a646e3",
"rgb": {
"r": 166,
"g": 70,
"b": 227
},
"hsl": {
"h": 276.688,
"s": 73.709,
"l": 58.235
},
"oklch": {
"l": 0.5935,
"c": 0.23033,
"h": 309
},
"luminance": 0.18033
}Semantic roles & 50–950 ramp
primary
#A646E3
secondary
#BBE2A3
accent
#F0377F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84