#A586F2#A586F2
#A586F2 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.4% C 0.156 H 295.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A586F2 |
|---|---|
| RGB | rgb(165, 134, 242) |
| HSL | hsl(257, 81%, 74%) |
| HSV | hsv(257, 45%, 95%) |
| CMYK | cmyk(31.8%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(62.89, 34.84, -50.24) |
| CIE-LCH | lch(62.89, 61.13, 304.74°) |
| OKLab | oklab(69.42% 0.0666 -0.1412) |
| OKLCH | oklch(69.42% 0.156 295.3) |
| XYZ | xyz(40.0652, 31.4597, 87.9487) |
| Luminance | 0.3146 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 5.26
Perrywinkle
#8F8CE7
ΔE00 5.55
Lavender Blue
#8B88F8
ΔE00 5.87
Liliac
#C48EFD
ΔE00 5.95
Light Purple
#BF77F6
ΔE00 6.53
Light Urple
#B36FF6
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A586F2 #D3F286
analogous
#869DF2 #A586F2 #DB86F2
triadic
#A586F2 #F2A586 #86F2A5
tetradic
#A586F2 #F2869D #D3F286 #86F2DB
square
#A586F2 #F2869D #D3F286 #86F2DB
split-complementary
#A586F2 #F2DB86 #9DF286
monochromatic
#5319E5 #7C4FEC #A586F2 #CEBDF8 #EAE3FC
Accessibility & contrast
On white
2.88
#A586F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#A586F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A586F2
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A586F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A586F2 | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#949AB0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a586f2; /* rgb */ color: rgb(165, 134, 242); /* oklch */ color: oklch(69.4% 0.156 295.3);
Tailwind
colors: {
custom: {
50: '#c2a9f7',
500: '#a586f2',
950: '#000000',
},
}SCSS
$custom: #a586f2; $custom-light: #c2a9f7; $custom-dark: #000000;
JSON
{
"hex": "#a586f2",
"rgb": {
"r": 165,
"g": 134,
"b": 242
},
"hsl": {
"h": 257.222,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.69416,
"c": 0.15611,
"h": 295.3
},
"luminance": 0.3146
}Semantic roles & 50–950 ramp
primary
#A586F2
secondary
#ECF4D7
accent
#DD09A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85