#A66BEC#A66BEC
#A66BEC is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.8% C 0.190 H 302.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A66BEC |
|---|---|
| RGB | rgb(166, 107, 236) |
| HSL | hsl(267, 77%, 67%) |
| HSV | hsv(267, 55%, 93%) |
| CMYK | cmyk(29.7%, 54.7%, 0%, 7.5%) |
| CIE-LAB | lab(56.76, 48.54, -56.66) |
| CIE-LCH | lch(56.76, 74.61, 310.59°) |
| OKLab | oklab(64.77% 0.102 -0.1599) |
| OKLCH | oklch(64.77% 0.19 302.5) |
| XYZ | xyz(36.1205, 24.6785, 82.2011) |
| Luminance | 0.2468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.75
Lighter Purple
#A55AF4
ΔE00 4.04
Mediumpurple
#9370DB
ΔE00 4.27
Easter Purple
#C071FE
ΔE00 5.13
Light Purple
#BF77F6
ΔE00 5.52
Bright Lavender
#C760FF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66BEC #B1EC6B
analogous
#6B70EC #A66BEC #E76BEC
triadic
#A66BEC #ECA66B #6BECA6
tetradic
#A66BEC #EC6B70 #B1EC6B #6BECE7
square
#A66BEC #EC6B70 #B1EC6B #6BECE7
split-complementary
#A66BEC #ECE76B #70EC6B
monochromatic
#6719C4 #8535E5 #A66BEC #C7A1F3 #E7D7FA
Accessibility & contrast
On white
3.54
#A66BEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#A66BEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66BEC
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66BEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66BEC | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#9984A1
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a66bec; /* rgb */ color: rgb(166, 107, 236); /* oklch */ color: oklch(64.8% 0.190 302.5);
Tailwind
colors: {
custom: {
50: '#c497f3',
500: '#a66bec',
950: '#000000',
},
}SCSS
$custom: #a66bec; $custom-light: #c497f3; $custom-dark: #000000;
JSON
{
"hex": "#a66bec",
"rgb": {
"r": 166,
"g": 107,
"b": 236
},
"hsl": {
"h": 267.442,
"s": 77.246,
"l": 67.255
},
"oklch": {
"l": 0.64766,
"c": 0.1897,
"h": 302.5
},
"luminance": 0.24679
}Semantic roles & 50–950 ramp
primary
#A66BEC
secondary
#DBEEC5
accent
#D90C7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85