#A66CE3#A66CE3
#A66CE3 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.178 H 304.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A66CE3 |
|---|---|
| RGB | rgb(166, 108, 227) |
| HSL | hsl(269, 68%, 66%) |
| HSV | hsv(269, 52%, 89%) |
| CMYK | cmyk(26.9%, 52.4%, 0%, 11%) |
| CIE-LAB | lab(56.46, 45.87, -52.10) |
| CIE-LCH | lch(56.46, 69.41, 311.36°) |
| OKLab | oklab(64.39% 0.1003 -0.1466) |
| OKLCH | oklch(64.39% 0.178 304.4) |
| XYZ | xyz(34.9506, 24.3783, 75.5224) |
| Luminance | 0.2438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.37
Mediumpurple
#9370DB
ΔE00 3.93
Lighter Purple
#A55AF4
ΔE00 4.81
Easter Purple
#C071FE
ΔE00 5.58
Light Purple
#BF77F6
ΔE00 5.60
Lightish Purple
#A552E6
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66CE3 #A9E36C
analogous
#6C6DE3 #A66CE3 #E26CE3
triadic
#A66CE3 #E3A66C #6CE3A6
tetradic
#A66CE3 #E36C6D #A9E36C #6CE3E2
square
#A66CE3 #E36C6D #A9E36C #6CE3E2
split-complementary
#A66CE3 #E3E26C #6DE36C
monochromatic
#6822B3 #8739D9 #A66CE3 #C59FED #E4D3F7
Accessibility & contrast
On white
3.57
#A66CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#A66CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66CE3
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66CE3 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4486E7
Deuteranopia (green-blind)
#5687E0
Tritanopia (blue-blind)
#9B829D
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a66ce3; /* rgb */ color: rgb(166, 108, 227); /* oklch */ color: oklch(64.4% 0.178 304.4);
Tailwind
colors: {
custom: {
50: '#c398ec',
500: '#a66ce3',
950: '#000000',
},
}SCSS
$custom: #a66ce3; $custom-light: #c398ec; $custom-dark: #000000;
JSON
{
"hex": "#a66ce3",
"rgb": {
"r": 166,
"g": 108,
"b": 227
},
"hsl": {
"h": 269.244,
"s": 68,
"l": 65.686
},
"oklch": {
"l": 0.64385,
"c": 0.17762,
"h": 304.4
},
"luminance": 0.24378
}Semantic roles & 50–950 ramp
primary
#A66CE3
secondary
#D6E9C2
accent
#D01675
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84