#A647E4#A647E4
#A647E4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.5% C 0.230 H 308.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A647E4 |
|---|---|
| RGB | rgb(166, 71, 228) |
| HSL | hsl(276, 74%, 59%) |
| HSV | hsv(276, 69%, 89%) |
| CMYK | cmyk(27.2%, 68.9%, 0%, 10.6%) |
| CIE-LAB | lab(49.76, 64.33, -63.43) |
| CIE-LCH | lch(49.76, 90.34, 315.41°) |
| OKLab | oklab(59.53% 0.1438 -0.1796) |
| OKLCH | oklch(59.53% 0.23 308.7) |
| XYZ | xyz(31.9799, 18.2154, 75.2150) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.22
Electric Purple
#AA23FF
ΔE00 4.73
Lighter Purple
#A55AF4
ΔE00 4.85
Neon Purple
#BC13FE
ΔE00 5.01
Bright Purple
#BE03FD
ΔE00 5.32
Bright Violet
#AD0AFD
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A647E4 #85E447
analogous
#5747E4 #A647E4 #E447D3
triadic
#A647E4 #E4A647 #47E4A6
tetradic
#A647E4 #E45747 #85E447 #47D3E4
square
#A647E4 #E45747 #85E447 #47D3E4
split-complementary
#A647E4 #D3E447 #47E457
monochromatic
#66179A #891ECF #A647E4 #C07CEC #DAB2F4
Accessibility & contrast
On white
4.52
#A647E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#A647E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A647E4
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A647E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A647E4 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#2477E1
Tritanopia (blue-blind)
#9D6A91
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a647e4; /* rgb */ color: rgb(166, 71, 228); /* oklch */ color: oklch(59.5% 0.230 308.7);
Tailwind
colors: {
custom: {
50: '#c581ed',
500: '#a647e4',
950: '#000000',
},
}SCSS
$custom: #a647e4; $custom-light: #c581ed; $custom-dark: #000000;
JSON
{
"hex": "#a647e4",
"rgb": {
"r": 166,
"g": 71,
"b": 228
},
"hsl": {
"h": 276.306,
"s": 74.408,
"l": 58.627
},
"oklch": {
"l": 0.59527,
"c": 0.2301,
"h": 308.7
},
"luminance": 0.18215
}Semantic roles & 50–950 ramp
primary
#A647E4
secondary
#BDE2A4
accent
#F13780
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84