#A87CD2#A87CD2
#A87CD2 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.3% C 0.132 H 306.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A87CD2 |
|---|---|
| RGB | rgb(168, 124, 210) |
| HSL | hsl(271, 49%, 65%) |
| HSV | hsv(271, 41%, 82%) |
| CMYK | cmyk(20%, 41%, 0%, 17.6%) |
| CIE-LAB | lab(59.34, 33.61, -38.00) |
| CIE-LCH | lch(59.34, 50.73, 311.49°) |
| OKLab | oklab(66.3% 0.0787 -0.1056) |
| OKLCH | oklch(66.3% 0.132 306.7) |
| XYZ | xyz(34.9867, 27.3936, 64.4046) |
| Luminance | 0.2739 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.53
Deep Lilac
#966EBD
ΔE00 5.70
Mediumpurple
#9370DB
ΔE00 6.36
Soft Purple
#A66FB5
ΔE00 6.42
Pale Purple
#B790D4
ΔE00 6.44
Light Purple
#BF77F6
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87CD2 #A6D27C
analogous
#7D7CD2 #A87CD2 #D27CD1
triadic
#A87CD2 #D2A87C #7CD2A8
tetradic
#A87CD2 #D27D7C #A6D27C #7CD1D2
square
#A87CD2 #D27D7C #A6D27C #7CD1D2
split-complementary
#A87CD2 #D1D27C #7CD27D
monochromatic
#6B369D #8A4EC2 #A87CD2 #C6AAE2 #E5D7F1
Accessibility & contrast
On white
3.24
#A87CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#A87CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87CD2
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87CD2 | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#688DD5
Deuteranopia (green-blind)
#738FD0
Tritanopia (blue-blind)
#A2899D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a87cd2; /* rgb */ color: rgb(168, 124, 210); /* oklch */ color: oklch(66.3% 0.132 306.7);
Tailwind
colors: {
custom: {
50: '#c3a2e0',
500: '#a87cd2',
950: '#000000',
},
}SCSS
$custom: #a87cd2; $custom-light: #c3a2e0; $custom-dark: #000000;
JSON
{
"hex": "#a87cd2",
"rgb": {
"r": 168,
"g": 124,
"b": 210
},
"hsl": {
"h": 270.698,
"s": 48.864,
"l": 65.49
},
"oklch": {
"l": 0.66301,
"c": 0.13166,
"h": 306.7
},
"luminance": 0.27393
}Semantic roles & 50–950 ramp
primary
#A87CD2
secondary
#D5E3C6
accent
#BC2971
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83