#A987DC#A987DC
#A987DC is a light, vivid violet. Relative luminance 0.309; OKLCH L 68.8% C 0.126 H 301.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A987DC |
|---|---|
| RGB | rgb(169, 135, 220) |
| HSL | hsl(264, 55%, 70%) |
| HSV | hsv(264, 39%, 86%) |
| CMYK | cmyk(23.2%, 38.6%, 0%, 13.7%) |
| CIE-LAB | lab(62.45, 30.01, -38.72) |
| CIE-LCH | lch(62.45, 48.99, 307.78°) |
| OKLab | oklab(68.83% 0.0662 -0.1077) |
| OKLCH | oklch(68.83% 0.126 301.6) |
| XYZ | xyz(37.9416, 30.9302, 71.6675) |
| Luminance | 0.3093 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.04
Wisteria
#A87DC2
ΔE00 5.58
Liliac
#C48EFD
ΔE00 6.27
Lavender
#B39DDB
ΔE00 6.91
Light Purple
#BF77F6
ΔE00 7.06
Perrywinkle
#8F8CE7
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A987DC #BADC87
analogous
#8790DC #A987DC #D487DC
triadic
#A987DC #DCA987 #87DCA9
tetradic
#A987DC #DC8790 #BADC87 #87DCD4
square
#A987DC #DC8790 #BADC87 #87DCD4
split-complementary
#A987DC #DCD487 #90DC87
monochromatic
#6835B4 #8758CE #A987DC #CBB6EA #EDE6F8
Accessibility & contrast
On white
2.92
#A987DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#A987DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A987DC
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A987DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A987DC | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#7997DA
Tritanopia (blue-blind)
#A095A7
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a987dc; /* rgb */ color: rgb(169, 135, 220); /* oklch */ color: oklch(68.8% 0.126 301.6);
Tailwind
colors: {
custom: {
50: '#c4aae7',
500: '#a987dc',
950: '#000000',
},
}SCSS
$custom: #a987dc; $custom-light: #c4aae7; $custom-dark: #000000;
JSON
{
"hex": "#a987dc",
"rgb": {
"r": 169,
"g": 135,
"b": 220
},
"hsl": {
"h": 264,
"s": 54.839,
"l": 69.608
},
"oklch": {
"l": 0.68825,
"c": 0.1264,
"h": 301.6
},
"luminance": 0.3093
}Semantic roles & 50–950 ramp
primary
#A987DC
secondary
#E2ECD3
accent
#C22383
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84