#A987DF#A987DF
#A987DF is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.0% C 0.130 H 300.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A987DF |
|---|---|
| RGB | rgb(169, 135, 223) |
| HSL | hsl(263, 58%, 70%) |
| HSV | hsv(263, 39%, 87%) |
| CMYK | cmyk(24.2%, 39.5%, 0%, 12.5%) |
| CIE-LAB | lab(62.58, 30.72, -40.18) |
| CIE-LCH | lch(62.58, 50.58, 307.40°) |
| OKLab | oklab(68.97% 0.0668 -0.1119) |
| OKLCH | oklch(68.97% 0.13 300.8) |
| XYZ | xyz(38.3425, 31.0906, 73.7788) |
| Luminance | 0.3109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.47
Liliac
#C48EFD
ΔE00 5.97
Wisteria
#A87DC2
ΔE00 6.08
Light Purple
#BF77F6
ΔE00 6.79
Perrywinkle
#8F8CE7
ΔE00 7.14
Lavender
#B39DDB
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A987DF #BDDF87
analogous
#8791DF #A987DF #D587DF
triadic
#A987DF #DFA987 #87DFA9
tetradic
#A987DF #DF8791 #BDDF87 #87DFD5
square
#A987DF #DF8791 #BDDF87 #87DFD5
split-complementary
#A987DF #DFD587 #91DF87
monochromatic
#6632BA #8657D2 #A987DF #CCB7EC #EEE7F9
Accessibility & contrast
On white
2.91
#A987DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#A987DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A987DF
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A987DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A987DF | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#7797DD
Tritanopia (blue-blind)
#9F96A8
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a987df; /* rgb */ color: rgb(169, 135, 223); /* oklch */ color: oklch(69.0% 0.130 300.8);
Tailwind
colors: {
custom: {
50: '#c4aae9',
500: '#a987df',
950: '#000000',
},
}SCSS
$custom: #a987df; $custom-light: #c4aae9; $custom-dark: #000000;
JSON
{
"hex": "#a987df",
"rgb": {
"r": 169,
"g": 135,
"b": 223
},
"hsl": {
"h": 263.182,
"s": 57.895,
"l": 70.196
},
"oklch": {
"l": 0.68972,
"c": 0.13031,
"h": 300.8
},
"luminance": 0.31091
}Semantic roles & 50–950 ramp
primary
#A987DF
secondary
#E4EDD5
accent
#C52086
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84