#A87CD4#A87CD4
#A87CD4 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.4% C 0.134 H 306.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A87CD4 |
|---|---|
| RGB | rgb(168, 124, 212) |
| HSL | hsl(270, 51%, 66%) |
| HSV | hsv(270, 42%, 83%) |
| CMYK | cmyk(20.8%, 41.5%, 0%, 16.9%) |
| CIE-LAB | lab(59.43, 34.07, -38.98) |
| CIE-LCH | lch(59.43, 51.77, 311.15°) |
| OKLab | oklab(66.4% 0.0791 -0.1084) |
| OKLCH | oklch(66.4% 0.134 306.1) |
| XYZ | xyz(35.2374, 27.4938, 65.7251) |
| Luminance | 0.2749 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.92
Deep Lilac
#966EBD
ΔE00 5.85
Mediumpurple
#9370DB
ΔE00 6.13
Light Purple
#BF77F6
ΔE00 6.29
Light Urple
#B36FF6
ΔE00 6.57
Pale Purple
#B790D4
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87CD4 #A8D47C
analogous
#7C7CD4 #A87CD4 #D47CD4
triadic
#A87CD4 #D4A87C #7CD4A8
tetradic
#A87CD4 #D47C7C #A8D47C #7CD4D4
square
#A87CD4 #D47C7C #A8D47C #7CD4D4
split-complementary
#A87CD4 #D4D47C #7CD47C
monochromatic
#6B35A1 #894EC5 #A87CD4 #C7AAE3 #E5D8F2
Accessibility & contrast
On white
3.23
#A87CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#A87CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87CD4
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87CD4 | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#678ED7
Deuteranopia (green-blind)
#728FD2
Tritanopia (blue-blind)
#A18A9E
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a87cd4; /* rgb */ color: rgb(168, 124, 212); /* oklch */ color: oklch(66.4% 0.134 306.1);
Tailwind
colors: {
custom: {
50: '#c3a2e1',
500: '#a87cd4',
950: '#000000',
},
}SCSS
$custom: #a87cd4; $custom-light: #c3a2e1; $custom-dark: #000000;
JSON
{
"hex": "#a87cd4",
"rgb": {
"r": 168,
"g": 124,
"b": 212
},
"hsl": {
"h": 270,
"s": 50.575,
"l": 65.882
},
"oklch": {
"l": 0.664,
"c": 0.13416,
"h": 306.1
},
"luminance": 0.27494
}Semantic roles & 50–950 ramp
primary
#A87CD4
secondary
#D6E4C7
accent
#BE2873
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83