#A646E5#A646E5
#A646E5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.5% C 0.232 H 308.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A646E5 |
|---|---|
| RGB | rgb(166, 70, 229) |
| HSL | hsl(276, 75%, 59%) |
| HSV | hsv(276, 69%, 90%) |
| CMYK | cmyk(27.5%, 69.4%, 0%, 10.2%) |
| CIE-LAB | lab(49.67, 64.97, -64.13) |
| CIE-LCH | lch(49.67, 91.29, 315.37°) |
| OKLab | oklab(59.49% 0.1447 -0.1817) |
| OKLCH | oklch(59.49% 0.232 308.5) |
| XYZ | xyz(32.0560, 18.1450, 75.9272) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.36
Electric Purple
#AA23FF
ΔE00 4.52
Neon Purple
#BC13FE
ΔE00 4.86
Lighter Purple
#A55AF4
ΔE00 4.92
Bright Purple
#BE03FD
ΔE00 5.17
Bright Violet
#AD0AFD
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A646E5 #85E546
analogous
#5646E5 #A646E5 #E546D5
triadic
#A646E5 #E5A646 #46E5A6
tetradic
#A646E5 #E55646 #85E546 #46D5E5
square
#A646E5 #E55646 #85E546 #46D5E5
split-complementary
#A646E5 #D5E546 #46E556
monochromatic
#66169B #891DD0 #A646E5 #C07CED #DAB1F4
Accessibility & contrast
On white
4.54
#A646E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#A646E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A646E5
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A646E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A646E5 | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#2077E2
Tritanopia (blue-blind)
#9C6A91
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a646e5; /* rgb */ color: rgb(166, 70, 229); /* oklch */ color: oklch(59.5% 0.232 308.5);
Tailwind
colors: {
custom: {
50: '#c581ee',
500: '#a646e5',
950: '#000000',
},
}SCSS
$custom: #a646e5; $custom-light: #c581ee; $custom-dark: #000000;
JSON
{
"hex": "#a646e5",
"rgb": {
"r": 166,
"g": 70,
"b": 229
},
"hsl": {
"h": 276.226,
"s": 75.355,
"l": 58.627
},
"oklch": {
"l": 0.59488,
"c": 0.23226,
"h": 308.5
},
"luminance": 0.18144
}Semantic roles & 50–950 ramp
primary
#A646E5
secondary
#BDE3A4
accent
#F23680
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84