#A866EC#A866EC
#A866EC is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.197 H 304.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A866EC |
|---|---|
| RGB | rgb(168, 102, 236) |
| HSL | hsl(270, 78%, 66%) |
| HSV | hsv(270, 57%, 93%) |
| CMYK | cmyk(28.8%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(55.97, 51.67, -57.91) |
| CIE-LCH | lch(55.97, 77.61, 311.74°) |
| OKLab | oklab(64.24% 0.1107 -0.1635) |
| OKLCH | oklch(64.24% 0.197 304.1) |
| XYZ | xyz(36.0368, 23.8838, 82.0522) |
| Luminance | 0.2388 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.02
Light Urple
#B36FF6
ΔE00 3.24
Lightish Purple
#A552E6
ΔE00 4.84
Mediumpurple
#9370DB
ΔE00 5.01
Bright Lavender
#C760FF
ΔE00 5.39
Easter Purple
#C071FE
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A866EC #AAEC66
analogous
#6667EC #A866EC #EB66EC
triadic
#A866EC #ECA866 #66ECA8
tetradic
#A866EC #EC6667 #AAEC66 #66ECEB
square
#A866EC #EC6667 #AAEC66 #66ECEB
split-complementary
#A866EC #ECEB66 #67EC66
monochromatic
#6B18C0 #8930E5 #A866EC #C79CF3 #E6D3FA
Accessibility & contrast
On white
3.64
#A866EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#A866EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A866EC
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A866EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A866EC | 1.00 | 3.64 | 5.78 | 5.78 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E84F0
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#9C809F
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a866ec; /* rgb */ color: rgb(168, 102, 236); /* oklch */ color: oklch(64.2% 0.197 304.1);
Tailwind
colors: {
custom: {
50: '#c594f3',
500: '#a866ec',
950: '#000000',
},
}SCSS
$custom: #a866ec; $custom-light: #c594f3; $custom-dark: #000000;
JSON
{
"hex": "#a866ec",
"rgb": {
"r": 168,
"g": 102,
"b": 236
},
"hsl": {
"h": 269.552,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.64235,
"c": 0.19749,
"h": 304.1
},
"luminance": 0.23884
}Semantic roles & 50–950 ramp
primary
#A866EC
secondary
#D7EDC1
accent
#DA0B74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85