#A766DE#A766DE
#A766DE is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.3% C 0.181 H 307.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A766DE |
|---|---|
| RGB | rgb(167, 102, 222) |
| HSL | hsl(273, 65%, 64%) |
| HSV | hsv(273, 54%, 87%) |
| CMYK | cmyk(24.8%, 54.1%, 0%, 12.9%) |
| CIE-LAB | lab(55.06, 48.17, -51.51) |
| CIE-LCH | lch(55.06, 70.53, 313.08°) |
| OKLab | oklab(63.29% 0.109 -0.1448) |
| OKLCH | oklch(63.29% 0.181 307) |
| XYZ | xyz(33.8698, 22.9925, 71.7468) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 4.24
Light Urple
#B36FF6
ΔE00 4.50
Lightish Purple
#A552E6
ΔE00 4.80
Mediumpurple
#9370DB
ΔE00 4.81
Mediumorchid
#BA55D3
ΔE00 5.44
Amethyst
#9B5FC0
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A766DE #9DDE66
analogous
#6B66DE #A766DE #DE66D9
triadic
#A766DE #DEA766 #66DEA7
tetradic
#A766DE #DE6B66 #9DDE66 #66D9DE
square
#A766DE #DE6B66 #9DDE66 #66D9DE
split-complementary
#A766DE #D9DE66 #66DE6B
monochromatic
#6A24A6 #8A34D3 #A766DE #C498E9 #E1CBF4
Accessibility & contrast
On white
3.75
#A766DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#A766DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A766DE
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A766DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A766DE | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F81E2
Deuteranopia (green-blind)
#5584DB
Tritanopia (blue-blind)
#9F7C98
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a766de; /* rgb */ color: rgb(167, 102, 222); /* oklch */ color: oklch(63.3% 0.181 307.0);
Tailwind
colors: {
custom: {
50: '#c494e9',
500: '#a766de',
950: '#000000',
},
}SCSS
$custom: #a766de; $custom-light: #c494e9; $custom-dark: #000000;
JSON
{
"hex": "#a766de",
"rgb": {
"r": 167,
"g": 102,
"b": 222
},
"hsl": {
"h": 272.5,
"s": 64.516,
"l": 63.529
},
"oklch": {
"l": 0.63288,
"c": 0.18127,
"h": 307
},
"luminance": 0.22992
}Semantic roles & 50–950 ramp
primary
#A766DE
secondary
#CEE5BB
accent
#CC196B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84