#A646D9#A646D9
#A646D9 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.221 H 311.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A646D9 |
|---|---|
| RGB | rgb(166, 70, 217) |
| HSL | hsl(279, 66%, 56%) |
| HSV | hsv(279, 68%, 85%) |
| CMYK | cmyk(23.5%, 67.7%, 0%, 14.9%) |
| CIE-LAB | lab(48.88, 62.42, -58.59) |
| CIE-LCH | lch(48.88, 85.61, 316.81°) |
| OKLab | oklab(58.67% 0.146 -0.1654) |
| OKLCH | oklch(58.67% 0.221 311.4) |
| XYZ | xyz(30.4381, 17.4978, 67.4062) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.33
Darkorchid
#9932CC
ΔE00 5.34
Electric Purple
#AA23FF
ΔE00 5.62
Neon Purple
#BC13FE
ΔE00 5.73
Bright Purple
#BE03FD
ΔE00 5.92
Mediumorchid
#BA55D3
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646D9 #79D946
analogous
#5D46D9 #A646D9 #D946C2
triadic
#A646D9 #D9A646 #46D9A6
tetradic
#A646D9 #D95D46 #79D946 #46C2D9
square
#A646D9 #D95D46 #79D946 #46C2D9
split-complementary
#A646D9 #C2D946 #46D95D
monochromatic
#631C89 #8826BB #A646D9 #BE79E3 #D7ACEE
Accessibility & contrast
On white
4.67
#A646D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#A646D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A646D9
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A646D9 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3476D6
Tritanopia (blue-blind)
#A0658A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a646d9; /* rgb */ color: rgb(166, 70, 217); /* oklch */ color: oklch(58.7% 0.221 311.4);
Tailwind
colors: {
custom: {
50: '#c580e5',
500: '#a646d9',
950: '#000000',
},
}SCSS
$custom: #a646d9; $custom-light: #c580e5; $custom-dark: #000000;
JSON
{
"hex": "#a646d9",
"rgb": {
"r": 166,
"g": 70,
"b": 217
},
"hsl": {
"h": 279.184,
"s": 65.919,
"l": 56.275
},
"oklch": {
"l": 0.58673,
"c": 0.22064,
"h": 311.4
},
"luminance": 0.17497
}Semantic roles & 50–950 ramp
primary
#A646D9
secondary
#B4DC9F
accent
#E93F7A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84