#A586FC#A586FC
#A586FC is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.0% C 0.169 H 293.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A586FC |
|---|---|
| RGB | rgb(165, 134, 252) |
| HSL | hsl(256, 95%, 76%) |
| HSV | hsv(256, 47%, 99%) |
| CMYK | cmyk(34.5%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(63.41, 37.38, -54.92) |
| CIE-LCH | lch(63.41, 66.44, 304.24°) |
| OKLab | oklab(69.97% 0.0679 -0.1549) |
| OKLCH | oklch(69.97% 0.169 293.7) |
| XYZ | xyz(41.6083, 32.0770, 96.0759) |
| Luminance | 0.3208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.48
Lavender Blue
#8B88F8
ΔE00 5.36
Perrywinkle
#8F8CE7
ΔE00 5.81
Liliac
#C48EFD
ΔE00 6.23
Light Urple
#B36FF6
ΔE00 6.75
Light Purple
#BF77F6
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A586FC #DDFC86
analogous
#86A2FC #A586FC #E086FC
triadic
#A586FC #FCA586 #86FCA5
tetradic
#A586FC #FC86A2 #DDFC86 #86FCE0
square
#A586FC #FC86A2 #DDFC86 #86FCE0
split-complementary
#A586FC #FCE086 #A2FC86
monochromatic
#4C0FF9 #794AFB #A586FC #D1C2FD #E9E1FE
Accessibility & contrast
On white
2.83
#A586FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#A586FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A586FC
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A586FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A586FC | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#909DB5
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #a586fc; /* rgb */ color: rgb(165, 134, 252); /* oklch */ color: oklch(70.0% 0.169 293.7);
Tailwind
colors: {
custom: {
50: '#c3a9fe',
500: '#a586fc',
950: '#000000',
},
}SCSS
$custom: #a586fc; $custom-light: #c3a9fe; $custom-dark: #000000;
JSON
{
"hex": "#a586fc",
"rgb": {
"r": 165,
"g": 134,
"b": 252
},
"hsl": {
"h": 255.763,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.69968,
"c": 0.1691,
"h": 293.7
},
"luminance": 0.32078
}Semantic roles & 50–950 ramp
primary
#A586FC
secondary
#EEF6D5
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86