#A686EC#A686EC
#A686EC is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.2% C 0.148 H 296.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A686EC |
|---|---|
| RGB | rgb(166, 134, 236) |
| HSL | hsl(259, 73%, 73%) |
| HSV | hsv(259, 43%, 93%) |
| CMYK | cmyk(29.7%, 43.2%, 0%, 7.5%) |
| CIE-LAB | lab(62.69, 33.60, -47.24) |
| CIE-LCH | lch(62.69, 57.98, 305.42°) |
| OKLab | oklab(69.19% 0.0669 -0.1325) |
| OKLCH | oklch(69.19% 0.148 296.8) |
| XYZ | xyz(39.3876, 31.2129, 83.2902) |
| Luminance | 0.3121 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.78
Perrywinkle
#8F8CE7
ΔE00 5.81
Periwinkle (survey)
#8E82FE
ΔE00 6.12
Light Purple
#BF77F6
ΔE00 6.37
Lavender Blue
#8B88F8
ΔE00 6.58
Light Urple
#B36FF6
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A686EC #CCEC86
analogous
#8699EC #A686EC #D986EC
triadic
#A686EC #ECA686 #86ECA6
tetradic
#A686EC #EC8699 #CCEC86 #86ECD9
square
#A686EC #EC8699 #CCEC86 #86ECD9
split-complementary
#A686EC #ECD986 #99EC86
monochromatic
#5A22D6 #7F51E4 #A686EC #CDBBF4 #ECE5FB
Accessibility & contrast
On white
2.90
#A686EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#A686EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A686EC
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A686EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A686EC | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#9798AE
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a686ec; /* rgb */ color: rgb(166, 134, 236); /* oklch */ color: oklch(69.2% 0.148 296.8);
Tailwind
colors: {
custom: {
50: '#c3a9f2',
500: '#a686ec',
950: '#000000',
},
}SCSS
$custom: #a686ec; $custom-light: #c3a9f2; $custom-dark: #000000;
JSON
{
"hex": "#a686ec",
"rgb": {
"r": 166,
"g": 134,
"b": 236
},
"hsl": {
"h": 258.824,
"s": 72.857,
"l": 72.549
},
"oklch": {
"l": 0.69185,
"c": 0.14839,
"h": 296.8
},
"luminance": 0.31213
}Semantic roles & 50–950 ramp
primary
#A686EC
secondary
#EAF3D8
accent
#D51197
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85