#A66AEB#A66AEB
#A66AEB is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.6% C 0.190 H 302.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A66AEB |
|---|---|
| RGB | rgb(166, 106, 235) |
| HSL | hsl(268, 76%, 67%) |
| HSV | hsv(268, 55%, 92%) |
| CMYK | cmyk(29.4%, 54.9%, 0%, 7.8%) |
| CIE-LAB | lab(56.50, 48.84, -56.52) |
| CIE-LCH | lch(56.50, 74.70, 310.83°) |
| OKLab | oklab(64.55% 0.1033 -0.1595) |
| OKLCH | oklch(64.55% 0.19 302.9) |
| XYZ | xyz(35.8719, 24.4132, 81.4035) |
| Luminance | 0.2441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.92
Lighter Purple
#A55AF4
ΔE00 3.84
Mediumpurple
#9370DB
ΔE00 4.30
Easter Purple
#C071FE
ΔE00 5.27
Light Purple
#BF77F6
ΔE00 5.67
Lightish Purple
#A552E6
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66AEB #AFEB6A
analogous
#6A6FEB #A66AEB #E66AEB
triadic
#A66AEB #EBA66A #6AEBA6
tetradic
#A66AEB #EB6A6F #AFEB6A #6AEBE6
square
#A66AEB #EB6A6F #AFEB6A #6AEBE6
split-complementary
#A66AEB #EBE66A #6FEB6A
monochromatic
#671AC1 #8634E4 #A66AEB #C6A0F2 #E6D6F9
Accessibility & contrast
On white
3.57
#A66AEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#A66AEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66AEB
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66AEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66AEB | 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)
#3886EF
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#9983A0
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a66aeb; /* rgb */ color: rgb(166, 106, 235); /* oklch */ color: oklch(64.6% 0.190 302.9);
Tailwind
colors: {
custom: {
50: '#c497f2',
500: '#a66aeb',
950: '#000000',
},
}SCSS
$custom: #a66aeb; $custom-light: #c497f2; $custom-dark: #000000;
JSON
{
"hex": "#a66aeb",
"rgb": {
"r": 166,
"g": 106,
"b": 235
},
"hsl": {
"h": 267.907,
"s": 76.331,
"l": 66.863
},
"oklch": {
"l": 0.64555,
"c": 0.19002,
"h": 302.9
},
"luminance": 0.24413
}Semantic roles & 50–950 ramp
primary
#A66AEB
secondary
#DAEDC4
accent
#D90D7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85