#A66CEB#A66CEB
#A66CEB is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.187 H 302.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A66CEB |
|---|---|
| RGB | rgb(166, 108, 235) |
| HSL | hsl(267, 76%, 67%) |
| HSV | hsv(267, 54%, 92%) |
| CMYK | cmyk(29.4%, 54%, 0%, 7.8%) |
| CIE-LAB | lab(56.91, 47.77, -55.87) |
| CIE-LCH | lch(56.91, 73.50, 310.53°) |
| OKLab | oklab(64.86% 0.1007 -0.1576) |
| OKLCH | oklch(64.86% 0.187 302.6) |
| XYZ | xyz(36.0804, 24.8303, 81.4731) |
| Luminance | 0.2483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.71
Mediumpurple
#9370DB
ΔE00 4.15
Lighter Purple
#A55AF4
ΔE00 4.32
Easter Purple
#C071FE
ΔE00 5.09
Light Purple
#BF77F6
ΔE00 5.39
Bright Lavender
#C760FF
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66CEB #B1EB6C
analogous
#6C71EB #A66CEB #E66CEB
triadic
#A66CEB #EBA66C #6CEBA6
tetradic
#A66CEB #EB6C71 #B1EB6C #6CEBE6
square
#A66CEB #EB6C71 #B1EB6C #6CEBE6
split-complementary
#A66CEB #EBE66C #71EB6C
monochromatic
#671AC2 #8536E4 #A66CEB #C7A2F2 #E7D8FA
Accessibility & contrast
On white
3.52
#A66CEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#A66CEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66CEB
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66CEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66CEB | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#9984A1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a66ceb; /* rgb */ color: rgb(166, 108, 235); /* oklch */ color: oklch(64.9% 0.187 302.6);
Tailwind
colors: {
custom: {
50: '#c498f2',
500: '#a66ceb',
950: '#000000',
},
}SCSS
$custom: #a66ceb; $custom-light: #c498f2; $custom-dark: #000000;
JSON
{
"hex": "#a66ceb",
"rgb": {
"r": 166,
"g": 108,
"b": 235
},
"hsl": {
"h": 267.402,
"s": 76.048,
"l": 67.255
},
"oklch": {
"l": 0.64858,
"c": 0.18705,
"h": 302.6
},
"luminance": 0.2483
}Semantic roles & 50–950 ramp
primary
#A66CEB
secondary
#DBEDC5
accent
#D80D7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85