#A766E9#A766E9
#A766E9 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.9% C 0.194 H 304.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A766E9 |
|---|---|
| RGB | rgb(167, 102, 233) |
| HSL | hsl(270, 75%, 66%) |
| HSV | hsv(270, 56%, 91%) |
| CMYK | cmyk(28.3%, 56.2%, 0%, 8.6%) |
| CIE-LAB | lab(55.69, 50.72, -56.70) |
| CIE-LCH | lch(55.69, 76.07, 311.82°) |
| OKLab | oklab(63.95% 0.1094 -0.16) |
| OKLCH | oklch(63.95% 0.194 304.4) |
| XYZ | xyz(35.3925, 23.6016, 79.7660) |
| Luminance | 0.2360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.13
Light Urple
#B36FF6
ΔE00 3.52
Lightish Purple
#A552E6
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 4.79
Bright Lavender
#C760FF
ΔE00 5.67
Easter Purple
#C071FE
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A766E9 #A8E966
analogous
#6666E9 #A766E9 #E866E9
triadic
#A766E9 #E9A766 #66E9A7
tetradic
#A766E9 #E96666 #A8E966 #66E9E8
square
#A766E9 #E96666 #A8E966 #66E9E8
split-complementary
#A766E9 #E9E866 #66E966
monochromatic
#6A1BBA #8830E1 #A766E9 #C69CF1 #E5D1F8
Accessibility & contrast
On white
3.67
#A766E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#A766E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A766E9
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A766E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A766E9 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3284ED
Deuteranopia (green-blind)
#4B85E6
Tritanopia (blue-blind)
#9B7F9E
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a766e9; /* rgb */ color: rgb(167, 102, 233); /* oklch */ color: oklch(63.9% 0.194 304.4);
Tailwind
colors: {
custom: {
50: '#c594f1',
500: '#a766e9',
950: '#000000',
},
}SCSS
$custom: #a766e9; $custom-light: #c594f1; $custom-dark: #000000;
JSON
{
"hex": "#a766e9",
"rgb": {
"r": 167,
"g": 102,
"b": 233
},
"hsl": {
"h": 269.771,
"s": 74.857,
"l": 65.686
},
"oklch": {
"l": 0.63946,
"c": 0.19383,
"h": 304.4
},
"luminance": 0.23601
}Semantic roles & 50–950 ramp
primary
#A766E9
secondary
#D6EBC0
accent
#D70E74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85