#A786EF#A786EF
#A786EF is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.4% C 0.152 H 296.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A786EF |
|---|---|
| RGB | rgb(167, 134, 239) |
| HSL | hsl(259, 77%, 73%) |
| HSV | hsv(259, 44%, 94%) |
| CMYK | cmyk(30.1%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(62.93, 34.62, -48.52) |
| CIE-LCH | lch(62.93, 59.60, 305.51°) |
| OKLab | oklab(69.43% 0.0686 -0.1361) |
| OKLCH | oklch(69.43% 0.152 296.7) |
| XYZ | xyz(40.0376, 31.4972, 85.6148) |
| Luminance | 0.3150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.56
Perrywinkle
#8F8CE7
ΔE00 5.95
Periwinkle (survey)
#8E82FE
ΔE00 5.96
Light Purple
#BF77F6
ΔE00 6.18
Light Urple
#B36FF6
ΔE00 6.50
Lavender Blue
#8B88F8
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786EF #CEEF86
analogous
#8699EF #A786EF #DB86EF
triadic
#A786EF #EFA786 #86EFA7
tetradic
#A786EF #EF8699 #CEEF86 #86EFDB
square
#A786EF #EF8699 #CEEF86 #86EFDB
split-complementary
#A786EF #EFDB86 #99EF86
monochromatic
#5A1DDD #8050E8 #A786EF #CEBCF6 #EBE4FB
Accessibility & contrast
On white
2.88
#A786EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#A786EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786EF
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786EF | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#9899AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a786ef; /* rgb */ color: rgb(167, 134, 239); /* oklch */ color: oklch(69.4% 0.152 296.7);
Tailwind
colors: {
custom: {
50: '#c4a9f5',
500: '#a786ef',
950: '#000000',
},
}SCSS
$custom: #a786ef; $custom-light: #c4a9f5; $custom-dark: #000000;
JSON
{
"hex": "#a786ef",
"rgb": {
"r": 167,
"g": 134,
"b": 239
},
"hsl": {
"h": 258.857,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.69434,
"c": 0.15242,
"h": 296.7
},
"luminance": 0.31498
}Semantic roles & 50–950 ramp
primary
#A786EF
secondary
#EBF3D8
accent
#D90D99
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85