#A66AEF#A66AEF
#A66AEF is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.8% C 0.195 H 302.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A66AEF |
|---|---|
| RGB | rgb(166, 106, 239) |
| HSL | hsl(267, 81%, 68%) |
| HSV | hsv(267, 56%, 94%) |
| CMYK | cmyk(30.5%, 55.6%, 0%, 6.3%) |
| CIE-LAB | lab(56.73, 49.79, -58.38) |
| CIE-LCH | lch(56.73, 76.73, 310.46°) |
| OKLab | oklab(64.8% 0.1034 -0.165) |
| OKLCH | oklch(64.8% 0.195 302.1) |
| XYZ | xyz(36.4563, 24.6470, 84.4813) |
| Luminance | 0.2465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.76
Lighter Purple
#A55AF4
ΔE00 3.72
Mediumpurple
#9370DB
ΔE00 4.52
Easter Purple
#C071FE
ΔE00 5.12
Light Purple
#BF77F6
ΔE00 5.66
Bright Lavender
#C760FF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66AEF #B3EF6A
analogous
#6A70EF #A66AEF #E96AEF
triadic
#A66AEF #EFA66A #6AEFA6
tetradic
#A66AEF #EF6A70 #B3EF6A #6AEFE9
square
#A66AEF #EF6A70 #B3EF6A #6AEFE9
split-complementary
#A66AEF #EFE96A #70EF6A
monochromatic
#6716C9 #8533E9 #A66AEF #C7A1F5 #E8D9FB
Accessibility & contrast
On white
3.54
#A66AEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#A66AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66AEF
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66AEF | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#4988EC
Tritanopia (blue-blind)
#9884A2
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a66aef; /* rgb */ color: rgb(166, 106, 239); /* oklch */ color: oklch(64.8% 0.195 302.1);
Tailwind
colors: {
custom: {
50: '#c497f5',
500: '#a66aef',
950: '#000000',
},
}SCSS
$custom: #a66aef; $custom-light: #c497f5; $custom-dark: #000000;
JSON
{
"hex": "#a66aef",
"rgb": {
"r": 166,
"g": 106,
"b": 239
},
"hsl": {
"h": 267.068,
"s": 80.606,
"l": 67.647
},
"oklch": {
"l": 0.64799,
"c": 0.19468,
"h": 302.1
},
"luminance": 0.24647
}Semantic roles & 50–950 ramp
primary
#A66AEF
secondary
#DCEFC6
accent
#DD097D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85