#A646E7#A646E7
#A646E7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.234 H 308.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A646E7 |
|---|---|
| RGB | rgb(166, 70, 231) |
| HSL | hsl(276, 77%, 59%) |
| HSV | hsv(276, 70%, 91%) |
| CMYK | cmyk(28.1%, 69.7%, 0%, 9.4%) |
| CIE-LAB | lab(49.81, 65.40, -65.04) |
| CIE-LCH | lch(49.81, 92.24, 315.16°) |
| OKLab | oklab(59.63% 0.1444 -0.1844) |
| OKLCH | oklch(59.63% 0.234 308.1) |
| XYZ | xyz(32.3369, 18.2573, 77.4063) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.29
Electric Purple
#AA23FF
ΔE00 4.39
Lighter Purple
#A55AF4
ΔE00 4.75
Neon Purple
#BC13FE
ΔE00 4.76
Bright Purple
#BE03FD
ΔE00 5.10
Bright Violet
#AD0AFD
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646E7 #87E746
analogous
#5646E7 #A646E7 #E746D8
triadic
#A646E7 #E7A646 #46E7A6
tetradic
#A646E7 #E75646 #87E746 #46D8E7
square
#A646E7 #E75646 #87E746 #46D8E7
split-complementary
#A646E7 #D8E746 #46E756
monochromatic
#67159E #8A1CD4 #A646E7 #C07CEE #DAB2F5
Accessibility & contrast
On white
4.51
#A646E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#A646E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A646E7
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A646E7 | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#1A77E4
Tritanopia (blue-blind)
#9C6A92
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a646e7; /* rgb */ color: rgb(166, 70, 231); /* oklch */ color: oklch(59.6% 0.234 308.1);
Tailwind
colors: {
custom: {
50: '#c581ef',
500: '#a646e7',
950: '#000000',
},
}SCSS
$custom: #a646e7; $custom-light: #c581ef; $custom-dark: #000000;
JSON
{
"hex": "#a646e7",
"rgb": {
"r": 166,
"g": 70,
"b": 231
},
"hsl": {
"h": 275.776,
"s": 77.033,
"l": 59.02
},
"oklch": {
"l": 0.59627,
"c": 0.2342,
"h": 308.1
},
"luminance": 0.18257
}Semantic roles & 50–950 ramp
primary
#A646E7
secondary
#BEE4A5
accent
#F43481
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85