#A766F3#A766F3
#A766F3 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.205 H 302.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A766F3 |
|---|---|
| RGB | rgb(167, 102, 243) |
| HSL | hsl(268, 85%, 68%) |
| HSV | hsv(268, 58%, 95%) |
| CMYK | cmyk(31.3%, 58%, 0%, 4.7%) |
| CIE-LAB | lab(56.28, 53.09, -61.33) |
| CIE-LCH | lch(56.28, 81.12, 310.88°) |
| OKLab | oklab(64.57% 0.1095 -0.1736) |
| OKLCH | oklch(64.57% 0.205 302.2) |
| XYZ | xyz(36.8616, 24.1892, 87.5036) |
| Luminance | 0.2419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.79
Light Urple
#B36FF6
ΔE00 3.18
Lightish Purple
#A552E6
ΔE00 5.16
Mediumpurple
#9370DB
ΔE00 5.26
Easter Purple
#C071FE
ΔE00 5.35
Bright Lavender
#C760FF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A766F3 #B2F366
analogous
#666BF3 #A766F3 #EE66F3
triadic
#A766F3 #F3A766 #66F3A7
tetradic
#A766F3 #F3666B #B2F366 #66F3EE
square
#A766F3 #F3666B #B2F366 #66F3EE
split-complementary
#A766F3 #F3EE66 #6BF366
monochromatic
#6810CE #862DEF #A766F3 #C89FF7 #E8D7FC
Accessibility & contrast
On white
3.60
#A766F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#A766F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A766F3
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A766F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A766F3 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2186F8
Deuteranopia (green-blind)
#4086F0
Tritanopia (blue-blind)
#9883A3
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a766f3; /* rgb */ color: rgb(167, 102, 243); /* oklch */ color: oklch(64.6% 0.205 302.2);
Tailwind
colors: {
custom: {
50: '#c594f8',
500: '#a766f3',
950: '#000000',
},
}SCSS
$custom: #a766f3; $custom-light: #c594f8; $custom-dark: #000000;
JSON
{
"hex": "#a766f3",
"rgb": {
"r": 167,
"g": 102,
"b": 243
},
"hsl": {
"h": 267.66,
"s": 85.455,
"l": 67.647
},
"oklch": {
"l": 0.64567,
"c": 0.20522,
"h": 302.2
},
"luminance": 0.24189
}Semantic roles & 50–950 ramp
primary
#A766F3
secondary
#DCF0C5
accent
#E2047B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85