#A686FC#A686FC
#A686FC is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.1% C 0.169 H 294.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A686FC |
|---|---|
| RGB | rgb(166, 134, 252) |
| HSL | hsl(256, 95%, 76%) |
| HSV | hsv(256, 47%, 99%) |
| CMYK | cmyk(34.1%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(63.50, 37.63, -54.77) |
| CIE-LCH | lch(63.50, 66.46, 304.49°) |
| OKLab | oklab(70.06% 0.0691 -0.1544) |
| OKLCH | oklch(70.06% 0.169 294.1) |
| XYZ | xyz(41.8172, 32.1847, 96.0857) |
| Luminance | 0.3219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.68
Lavender Blue
#8B88F8
ΔE00 5.56
Perrywinkle
#8F8CE7
ΔE00 5.96
Liliac
#C48EFD
ΔE00 6.04
Light Purple
#BF77F6
ΔE00 6.63
Light Urple
#B36FF6
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A686FC #DCFC86
analogous
#86A1FC #A686FC #E186FC
triadic
#A686FC #FCA686 #86FCA6
tetradic
#A686FC #FC86A1 #DCFC86 #86FCE1
square
#A686FC #FC86A1 #DCFC86 #86FCE1
split-complementary
#A686FC #FCE186 #A1FC86
monochromatic
#4E0FF9 #7A4AFB #A686FC #D2C2FD #E9E1FE
Accessibility & contrast
On white
2.82
#A686FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#A686FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A686FC
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A686FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A686FC | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#929DB5
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #a686fc; /* rgb */ color: rgb(166, 134, 252); /* oklch */ color: oklch(70.1% 0.169 294.1);
Tailwind
colors: {
custom: {
50: '#c4aafe',
500: '#a686fc',
950: '#000000',
},
}SCSS
$custom: #a686fc; $custom-light: #c4aafe; $custom-dark: #000000;
JSON
{
"hex": "#a686fc",
"rgb": {
"r": 166,
"g": 134,
"b": 252
},
"hsl": {
"h": 256.271,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.70056,
"c": 0.16916,
"h": 294.1
},
"luminance": 0.32185
}Semantic roles & 50–950 ramp
primary
#A686FC
secondary
#EDF6D5
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86