#A786EE#A786EE
#A786EE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.4% C 0.151 H 296.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A786EE |
|---|---|
| RGB | rgb(167, 134, 238) |
| HSL | hsl(259, 75%, 73%) |
| HSV | hsv(259, 44%, 93%) |
| CMYK | cmyk(29.8%, 43.7%, 0%, 6.7%) |
| CIE-LAB | lab(62.88, 34.37, -48.05) |
| CIE-LCH | lch(62.88, 59.07, 305.58°) |
| OKLab | oklab(69.38% 0.0684 -0.1348) |
| OKLCH | oklch(69.38% 0.151 296.9) |
| XYZ | xyz(39.8903, 31.4383, 84.8389) |
| Luminance | 0.3144 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.57
Perrywinkle
#8F8CE7
ΔE00 5.96
Periwinkle (survey)
#8E82FE
ΔE00 6.07
Light Purple
#BF77F6
ΔE00 6.18
Light Urple
#B36FF6
ΔE00 6.53
Lavender Blue
#8B88F8
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786EE #CDEE86
analogous
#8699EE #A786EE #DB86EE
triadic
#A786EE #EEA786 #86EEA7
tetradic
#A786EE #EE8699 #CDEE86 #86EEDB
square
#A786EE #EE8699 #CDEE86 #86EEDB
split-complementary
#A786EE #EEDB86 #99EE86
monochromatic
#5A1FDB #8050E6 #A786EE #CEBCF6 #EBE4FB
Accessibility & contrast
On white
2.88
#A786EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#A786EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786EE
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786EE | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#6D97EB
Tritanopia (blue-blind)
#9899AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a786ee; /* rgb */ color: rgb(167, 134, 238); /* oklch */ color: oklch(69.4% 0.151 296.9);
Tailwind
colors: {
custom: {
50: '#c3a9f4',
500: '#a786ee',
950: '#000000',
},
}SCSS
$custom: #a786ee; $custom-light: #c3a9f4; $custom-dark: #000000;
JSON
{
"hex": "#a786ee",
"rgb": {
"r": 167,
"g": 134,
"b": 238
},
"hsl": {
"h": 259.038,
"s": 75.362,
"l": 72.941
},
"oklch": {
"l": 0.69381,
"c": 0.15113,
"h": 296.9
},
"luminance": 0.31439
}Semantic roles & 50–950 ramp
primary
#A786EE
secondary
#EAF3D8
accent
#D80E98
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85