#A586F7#A586F7
#A586F7 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.163 H 294.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A586F7 |
|---|---|
| RGB | rgb(165, 134, 247) |
| HSL | hsl(256, 88%, 75%) |
| HSV | hsv(256, 46%, 97%) |
| CMYK | cmyk(33.2%, 45.7%, 0%, 3.1%) |
| CIE-LAB | lab(63.15, 36.10, -52.59) |
| CIE-LCH | lch(63.15, 63.79, 304.47°) |
| OKLab | oklab(69.69% 0.0673 -0.148) |
| OKLCH | oklch(69.69% 0.163 294.4) |
| XYZ | xyz(40.8264, 31.7642, 91.9578) |
| Luminance | 0.3176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.81
Lavender Blue
#8B88F8
ΔE00 5.56
Perrywinkle
#8F8CE7
ΔE00 5.63
Liliac
#C48EFD
ΔE00 6.05
Light Purple
#BF77F6
ΔE00 6.63
Light Urple
#B36FF6
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A586F7 #D8F786
analogous
#86A0F7 #A586F7 #DD86F7
triadic
#A586F7 #F7A586 #86F7A5
tetradic
#A586F7 #F786A0 #D8F786 #86F7DD
square
#A586F7 #F786A0 #D8F786 #86F7DD
split-complementary
#A586F7 #F7DD86 #A0F786
monochromatic
#5013EF #7A4DF3 #A586F7 #D0BFFB #EAE2FD
Accessibility & contrast
On white
2.86
#A586F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#A586F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A586F7
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A586F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A586F7 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#929BB3
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #a586f7; /* rgb */ color: rgb(165, 134, 247); /* oklch */ color: oklch(69.7% 0.163 294.4);
Tailwind
colors: {
custom: {
50: '#c3a9fa',
500: '#a586f7',
950: '#000000',
},
}SCSS
$custom: #a586f7; $custom-light: #c3a9fa; $custom-dark: #000000;
JSON
{
"hex": "#a586f7",
"rgb": {
"r": 165,
"g": 134,
"b": 247
},
"hsl": {
"h": 256.46,
"s": 87.597,
"l": 74.706
},
"oklch": {
"l": 0.6969,
"c": 0.16262,
"h": 294.4
},
"luminance": 0.31765
}Semantic roles & 50–950 ramp
primary
#A586F7
secondary
#EDF5D6
accent
#E401A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85