#A766EA#A766EA
#A766EA is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.195 H 304.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A766EA |
|---|---|
| RGB | rgb(167, 102, 234) |
| HSL | hsl(270, 76%, 66%) |
| HSV | hsv(270, 56%, 92%) |
| CMYK | cmyk(28.6%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(55.74, 50.96, -57.16) |
| CIE-LCH | lch(55.74, 76.58, 311.71°) |
| OKLab | oklab(64.01% 0.1095 -0.1614) |
| OKLCH | oklch(64.01% 0.195 304.1) |
| XYZ | xyz(35.5357, 23.6589, 80.5205) |
| Luminance | 0.2366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.06
Light Urple
#B36FF6
ΔE00 3.46
Lightish Purple
#A552E6
ΔE00 4.74
Mediumpurple
#9370DB
ΔE00 4.81
Bright Lavender
#C760FF
ΔE00 5.63
Easter Purple
#C071FE
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A766EA #A9EA66
analogous
#6667EA #A766EA #E966EA
triadic
#A766EA #EAA766 #66EAA7
tetradic
#A766EA #EA6667 #A9EA66 #66EAE9
square
#A766EA #EA6667 #A9EA66 #66EAE9
split-complementary
#A766EA #EAE966 #67EA66
monochromatic
#6A1ABC #8830E3 #A766EA #C69CF1 #E5D2F9
Accessibility & contrast
On white
3.66
#A766EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#A766EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A766EA
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A766EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A766EA | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#4A86E7
Tritanopia (blue-blind)
#9B809E
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a766ea; /* rgb */ color: rgb(167, 102, 234); /* oklch */ color: oklch(64.0% 0.195 304.1);
Tailwind
colors: {
custom: {
50: '#c594f1',
500: '#a766ea',
950: '#000000',
},
}SCSS
$custom: #a766ea; $custom-light: #c594f1; $custom-dark: #000000;
JSON
{
"hex": "#a766ea",
"rgb": {
"r": 167,
"g": 102,
"b": 234
},
"hsl": {
"h": 269.545,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.64007,
"c": 0.19498,
"h": 304.1
},
"luminance": 0.23659
}Semantic roles & 50–950 ramp
primary
#A766EA
secondary
#D6ECC0
accent
#D80D74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85