#A866EB#A866EB
#A866EB is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.2% C 0.196 H 304.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A866EB |
|---|---|
| RGB | rgb(168, 102, 235) |
| HSL | hsl(270, 77%, 66%) |
| HSV | hsv(270, 57%, 92%) |
| CMYK | cmyk(28.5%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(55.91, 51.43, -57.45) |
| CIE-LCH | lch(55.91, 77.11, 311.84°) |
| OKLab | oklab(64.17% 0.1107 -0.1622) |
| OKLCH | oklch(64.17% 0.196 304.3) |
| XYZ | xyz(35.8919, 23.8259, 81.2891) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.07
Light Urple
#B36FF6
ΔE00 3.29
Lightish Purple
#A552E6
ΔE00 4.80
Mediumpurple
#9370DB
ΔE00 4.97
Bright Lavender
#C760FF
ΔE00 5.43
Easter Purple
#C071FE
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A866EB #A9EB66
analogous
#6666EB #A866EB #EA66EB
triadic
#A866EB #EBA866 #66EBA8
tetradic
#A866EB #EB6666 #A9EB66 #66EBEA
square
#A866EB #EB6666 #A9EB66 #66EBEA
split-complementary
#A866EB #EBEA66 #66EB66
monochromatic
#6B19BE #8930E4 #A866EB #C79CF2 #E6D2F9
Accessibility & contrast
On white
3.64
#A866EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#A866EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A866EB
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A866EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A866EB | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#9C809F
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a866eb; /* rgb */ color: rgb(168, 102, 235); /* oklch */ color: oklch(64.2% 0.196 304.3);
Tailwind
colors: {
custom: {
50: '#c594f2',
500: '#a866eb',
950: '#000000',
},
}SCSS
$custom: #a866eb; $custom-light: #c594f2; $custom-dark: #000000;
JSON
{
"hex": "#a866eb",
"rgb": {
"r": 168,
"g": 102,
"b": 235
},
"hsl": {
"h": 269.774,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.64174,
"c": 0.19635,
"h": 304.3
},
"luminance": 0.23826
}Semantic roles & 50–950 ramp
primary
#A866EB
secondary
#D7ECC1
accent
#D90C74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85