#A987F6#A987F6
#A987F6 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.160 H 296.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A987F6 |
|---|---|
| RGB | rgb(169, 135, 246) |
| HSL | hsl(258, 86%, 75%) |
| HSV | hsv(258, 45%, 96%) |
| CMYK | cmyk(31.3%, 45.1%, 0%, 3.5%) |
| CIE-LAB | lab(63.69, 36.33, -51.16) |
| CIE-LCH | lch(63.69, 62.75, 305.38°) |
| OKLab | oklab(70.16% 0.0706 -0.1438) |
| OKLCH | oklch(70.16% 0.16 296.1) |
| XYZ | xyz(41.6566, 32.4162, 91.2332) |
| Luminance | 0.3242 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.22
Periwinkle (survey)
#8E82FE
ΔE00 5.70
Light Purple
#BF77F6
ΔE00 6.12
Perrywinkle
#8F8CE7
ΔE00 6.17
Lavender Blue
#8B88F8
ΔE00 6.36
Light Urple
#B36FF6
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A987F6 #D4F687
analogous
#879DF6 #A987F6 #E087F6
triadic
#A987F6 #F6A987 #87F6A9
tetradic
#A987F6 #F6879D #D4F687 #87F6E0
square
#A987F6 #F6879D #D4F687 #87F6E0
split-complementary
#A987F6 #F6E087 #9DF687
monochromatic
#5715ED #804EF2 #A987F6 #D2C0FA #EBE3FD
Accessibility & contrast
On white
2.81
#A987F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#A987F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A987F6
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A987F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A987F6 | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649BFA
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#989CB3
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #a987f6; /* rgb */ color: rgb(169, 135, 246); /* oklch */ color: oklch(70.2% 0.160 296.1);
Tailwind
colors: {
custom: {
50: '#c5aaf9',
500: '#a987f6',
950: '#000000',
},
}SCSS
$custom: #a987f6; $custom-light: #c5aaf9; $custom-dark: #000000;
JSON
{
"hex": "#a987f6",
"rgb": {
"r": 169,
"g": 135,
"b": 246
},
"hsl": {
"h": 258.378,
"s": 86.047,
"l": 74.706
},
"oklch": {
"l": 0.70163,
"c": 0.16019,
"h": 296.1
},
"luminance": 0.32417
}Semantic roles & 50–950 ramp
primary
#A987F6
secondary
#EBF5D6
accent
#E3039E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85