#A686F2#A686F2
#A686F2 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.5% C 0.156 H 295.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A686F2 |
|---|---|
| RGB | rgb(166, 134, 242) |
| HSL | hsl(258, 81%, 74%) |
| HSV | hsv(258, 45%, 95%) |
| CMYK | cmyk(31.4%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(62.98, 35.10, -50.09) |
| CIE-LCH | lch(62.98, 61.16, 305.02°) |
| OKLab | oklab(69.51% 0.0678 -0.1407) |
| OKLCH | oklch(69.51% 0.156 295.7) |
| XYZ | xyz(40.2740, 31.5674, 87.9585) |
| Luminance | 0.3157 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 5.45
Perrywinkle
#8F8CE7
ΔE00 5.73
Liliac
#C48EFD
ΔE00 5.76
Lavender Blue
#8B88F8
ΔE00 6.07
Light Purple
#BF77F6
ΔE00 6.36
Light Urple
#B36FF6
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A686F2 #D2F286
analogous
#869CF2 #A686F2 #DC86F2
triadic
#A686F2 #F2A686 #86F2A6
tetradic
#A686F2 #F2869C #D2F286 #86F2DC
square
#A686F2 #F2869C #D2F286 #86F2DC
split-complementary
#A686F2 #F2DC86 #9CF286
monochromatic
#5519E5 #7D4FEC #A686F2 #CFBDF8 #EBE3FC
Accessibility & contrast
On white
2.87
#A686F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#A686F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A686F2
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A686F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A686F2 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#959AB0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a686f2; /* rgb */ color: rgb(166, 134, 242); /* oklch */ color: oklch(69.5% 0.156 295.7);
Tailwind
colors: {
custom: {
50: '#c3a9f7',
500: '#a686f2',
950: '#000000',
},
}SCSS
$custom: #a686f2; $custom-light: #c3a9f7; $custom-dark: #000000;
JSON
{
"hex": "#a686f2",
"rgb": {
"r": 166,
"g": 134,
"b": 242
},
"hsl": {
"h": 257.778,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.69505,
"c": 0.15622,
"h": 295.7
},
"luminance": 0.31568
}Semantic roles & 50–950 ramp
primary
#A686F2
secondary
#EBF4D7
accent
#DD099E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85