#A766E7#A766E7
#A766E7 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.8% C 0.192 H 304.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A766E7 |
|---|---|
| RGB | rgb(167, 102, 231) |
| HSL | hsl(270, 73%, 65%) |
| HSV | hsv(270, 56%, 91%) |
| CMYK | cmyk(27.7%, 55.8%, 0%, 9.4%) |
| CIE-LAB | lab(55.57, 50.25, -55.76) |
| CIE-LCH | lch(55.57, 75.07, 312.03°) |
| OKLab | oklab(63.82% 0.1094 -0.1572) |
| OKLCH | oklch(63.82% 0.192 304.8) |
| XYZ | xyz(35.1084, 23.4879, 78.2699) |
| Luminance | 0.2349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.29
Light Urple
#B36FF6
ΔE00 3.66
Lightish Purple
#A552E6
ΔE00 4.68
Mediumpurple
#9370DB
ΔE00 4.74
Bright Lavender
#C760FF
ΔE00 5.77
Easter Purple
#C071FE
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A766E7 #A6E766
analogous
#6766E7 #A766E7 #E766E6
triadic
#A766E7 #E7A766 #66E7A7
tetradic
#A766E7 #E76766 #A6E766 #66E6E7
square
#A766E7 #E76766 #A6E766 #66E6E7
split-complementary
#A766E7 #E6E766 #66E767
monochromatic
#6A1DB6 #8931DF #A766E7 #C59BEF #E4D0F8
Accessibility & contrast
On white
3.69
#A766E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#A766E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A766E7
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A766E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A766E7 | 1.00 | 3.69 | 5.70 | 5.70 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3583EB
Deuteranopia (green-blind)
#4D85E4
Tritanopia (blue-blind)
#9C7F9D
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a766e7; /* rgb */ color: rgb(167, 102, 231); /* oklch */ color: oklch(63.8% 0.192 304.8);
Tailwind
colors: {
custom: {
50: '#c494ef',
500: '#a766e7',
950: '#000000',
},
}SCSS
$custom: #a766e7; $custom-light: #c494ef; $custom-dark: #000000;
JSON
{
"hex": "#a766e7",
"rgb": {
"r": 167,
"g": 102,
"b": 231
},
"hsl": {
"h": 270.233,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.63824,
"c": 0.19156,
"h": 304.8
},
"luminance": 0.23488
}Semantic roles & 50–950 ramp
primary
#A766E7
secondary
#D4EABF
accent
#D51172
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84