#A586EF#A586EF
#A586EF is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.3% C 0.152 H 295.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A586EF |
|---|---|
| RGB | rgb(165, 134, 239) |
| HSL | hsl(258, 77%, 73%) |
| HSV | hsv(258, 44%, 94%) |
| CMYK | cmyk(31%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(62.74, 34.08, -48.82) |
| CIE-LCH | lch(62.74, 59.54, 304.92°) |
| OKLab | oklab(69.26% 0.0662 -0.1371) |
| OKLCH | oklch(69.26% 0.152 295.8) |
| XYZ | xyz(39.6183, 31.2810, 85.5952) |
| Luminance | 0.3128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.55
Periwinkle (survey)
#8E82FE
ΔE00 5.58
Liliac
#C48EFD
ΔE00 5.94
Lavender Blue
#8B88F8
ΔE00 6.10
Light Purple
#BF77F6
ΔE00 6.52
Light Urple
#B36FF6
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A586EF #D0EF86
analogous
#869BEF #A586EF #D986EF
triadic
#A586EF #EFA586 #86EFA5
tetradic
#A586EF #EF869B #D0EF86 #86EFD9
square
#A586EF #EF869B #D0EF86 #86EFD9
split-complementary
#A586EF #EFD986 #9BEF86
monochromatic
#561DDD #7D50E8 #A586EF #CDBCF6 #EBE4FB
Accessibility & contrast
On white
2.89
#A586EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#A586EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A586EF
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A586EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A586EF | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#9599AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a586ef; /* rgb */ color: rgb(165, 134, 239); /* oklch */ color: oklch(69.3% 0.152 295.8);
Tailwind
colors: {
custom: {
50: '#c2a9f5',
500: '#a586ef',
950: '#000000',
},
}SCSS
$custom: #a586ef; $custom-light: #c2a9f5; $custom-dark: #000000;
JSON
{
"hex": "#a586ef",
"rgb": {
"r": 165,
"g": 134,
"b": 239
},
"hsl": {
"h": 257.714,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.69255,
"c": 0.1522,
"h": 295.8
},
"luminance": 0.31282
}Semantic roles & 50–950 ramp
primary
#A586EF
secondary
#EBF3D8
accent
#D90D9D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85