#A766EC#A766EC
#A766EC is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.197 H 303.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A766EC |
|---|---|
| RGB | rgb(167, 102, 236) |
| HSL | hsl(269, 78%, 66%) |
| HSV | hsv(269, 57%, 93%) |
| CMYK | cmyk(29.2%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(55.86, 51.43, -58.09) |
| CIE-LCH | lch(55.86, 77.59, 311.52°) |
| OKLab | oklab(64.13% 0.1095 -0.1641) |
| OKLCH | oklch(64.13% 0.197 303.7) |
| XYZ | xyz(35.8247, 23.7744, 82.0422) |
| Luminance | 0.2377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.95
Light Urple
#B36FF6
ΔE00 3.35
Lightish Purple
#A552E6
ΔE00 4.80
Mediumpurple
#9370DB
ΔE00 4.89
Bright Lavender
#C760FF
ΔE00 5.55
Easter Purple
#C071FE
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A766EC #ABEC66
analogous
#6668EC #A766EC #EA66EC
triadic
#A766EC #ECA766 #66ECA7
tetradic
#A766EC #EC6668 #ABEC66 #66ECEA
square
#A766EC #EC6668 #ABEC66 #66ECEA
split-complementary
#A766EC #ECEA66 #68EC66
monochromatic
#6918C0 #8830E5 #A766EC #C69CF3 #E6D3FA
Accessibility & contrast
On white
3.65
#A766EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#A766EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A766EC
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A766EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A766EC | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E84F0
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#9A809F
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a766ec; /* rgb */ color: rgb(167, 102, 236); /* oklch */ color: oklch(64.1% 0.197 303.7);
Tailwind
colors: {
custom: {
50: '#c594f3',
500: '#a766ec',
950: '#000000',
},
}SCSS
$custom: #a766ec; $custom-light: #c594f3; $custom-dark: #000000;
JSON
{
"hex": "#a766ec",
"rgb": {
"r": 167,
"g": 102,
"b": 236
},
"hsl": {
"h": 269.104,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.6413,
"c": 0.19726,
"h": 303.7
},
"luminance": 0.23774
}Semantic roles & 50–950 ramp
primary
#A766EC
secondary
#D8EDC1
accent
#DA0B76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85