#A587EF#A587EF
#A587EF is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.4% C 0.151 H 295.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A587EF |
|---|---|
| RGB | rgb(165, 135, 239) |
| HSL | hsl(257, 76%, 73%) |
| HSV | hsv(257, 44%, 94%) |
| CMYK | cmyk(31%, 43.5%, 0%, 6.3%) |
| CIE-LAB | lab(62.98, 33.52, -48.45) |
| CIE-LCH | lch(62.98, 58.91, 304.68°) |
| OKLab | oklab(69.43% 0.0649 -0.136) |
| OKLCH | oklch(69.43% 0.151 295.5) |
| XYZ | xyz(39.7572, 31.5587, 85.6414) |
| Luminance | 0.3156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.40
Periwinkle (survey)
#8E82FE
ΔE00 5.61
Liliac
#C48EFD
ΔE00 5.91
Lavender Blue
#8B88F8
ΔE00 6.03
Light Purple
#BF77F6
ΔE00 6.72
Light Urple
#B36FF6
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A587EF #D1EF87
analogous
#879DEF #A587EF #D987EF
triadic
#A587EF #EFA587 #87EFA5
tetradic
#A587EF #EF879D #D1EF87 #87EFD9
square
#A587EF #EF879D #D1EF87 #87EFD9
split-complementary
#A587EF #EFD987 #9DEF87
monochromatic
#551EDE #7C51E8 #A587EF #CDBDF6 #EBE4FB
Accessibility & contrast
On white
2.87
#A587EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#A587EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A587EF
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A587EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A587EF | 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)
#6799F3
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#959AB0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a587ef; /* rgb */ color: rgb(165, 135, 239); /* oklch */ color: oklch(69.4% 0.151 295.5);
Tailwind
colors: {
custom: {
50: '#c2aaf5',
500: '#a587ef',
950: '#000000',
},
}SCSS
$custom: #a587ef; $custom-light: #c2aaf5; $custom-dark: #000000;
JSON
{
"hex": "#a587ef",
"rgb": {
"r": 165,
"g": 135,
"b": 239
},
"hsl": {
"h": 257.308,
"s": 76.471,
"l": 73.333
},
"oklch": {
"l": 0.6943,
"c": 0.15067,
"h": 295.5
},
"luminance": 0.31559
}Semantic roles & 50–950 ramp
primary
#A587EF
secondary
#EBF3D8
accent
#D90D9E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85