#A766DC#A766DC
#A766DC is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.2% C 0.179 H 307.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A766DC |
|---|---|
| RGB | rgb(167, 102, 220) |
| HSL | hsl(273, 63%, 63%) |
| HSV | hsv(273, 54%, 86%) |
| CMYK | cmyk(24.1%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(54.95, 47.71, -50.56) |
| CIE-LCH | lch(54.95, 69.52, 313.34°) |
| OKLab | oklab(63.17% 0.1089 -0.142) |
| OKLCH | oklch(63.17% 0.179 307.5) |
| XYZ | xyz(33.6034, 22.8859, 70.3434) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 4.50
Light Urple
#B36FF6
ΔE00 4.73
Mediumpurple
#9370DB
ΔE00 4.88
Lightish Purple
#A552E6
ΔE00 4.89
Amethyst
#9B5FC0
ΔE00 5.21
Mediumorchid
#BA55D3
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A766DC #9BDC66
analogous
#6C66DC #A766DC #DC66D6
triadic
#A766DC #DCA766 #66DCA7
tetradic
#A766DC #DC6C66 #9BDC66 #66D6DC
square
#A766DC #DC6C66 #9BDC66 #66D6DC
split-complementary
#A766DC #D6DC66 #66DC6C
monochromatic
#6A25A2 #8A34D1 #A766DC #C498E7 #E0CAF3
Accessibility & contrast
On white
3.77
#A766DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#A766DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A766DC
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A766DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A766DC | 1.00 | 3.77 | 5.58 | 5.58 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#5684D9
Tritanopia (blue-blind)
#9F7B97
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a766dc; /* rgb */ color: rgb(167, 102, 220); /* oklch */ color: oklch(63.2% 0.179 307.5);
Tailwind
colors: {
custom: {
50: '#c494e7',
500: '#a766dc',
950: '#000000',
},
}SCSS
$custom: #a766dc; $custom-light: #c494e7; $custom-dark: #000000;
JSON
{
"hex": "#a766dc",
"rgb": {
"r": 167,
"g": 102,
"b": 220
},
"hsl": {
"h": 273.051,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.63171,
"c": 0.17899,
"h": 307.5
},
"luminance": 0.22886
}Semantic roles & 50–950 ramp
primary
#A766DC
secondary
#CDE4BA
accent
#CB1B6A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84