#A87CD7#A87CD7
#A87CD7 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.6% C 0.138 H 305.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A87CD7 |
|---|---|
| RGB | rgb(168, 124, 215) |
| HSL | hsl(269, 53%, 66%) |
| HSV | hsv(269, 42%, 84%) |
| CMYK | cmyk(21.9%, 42.3%, 0%, 15.7%) |
| CIE-LAB | lab(59.57, 34.76, -40.44) |
| CIE-LCH | lch(59.57, 53.33, 310.68°) |
| OKLab | oklab(66.55% 0.0796 -0.1126) |
| OKLCH | oklch(66.55% 0.138 305.2) |
| XYZ | xyz(35.6193, 27.6466, 67.7367) |
| Luminance | 0.2765 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.50
Mediumpurple
#9370DB
ΔE00 5.83
Light Purple
#BF77F6
ΔE00 5.90
Light Urple
#B36FF6
ΔE00 6.11
Deep Lilac
#966EBD
ΔE00 6.11
Pale Purple
#B790D4
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87CD7 #ABD77C
analogous
#7C7ED7 #A87CD7 #D67CD7
triadic
#A87CD7 #D7A87C #7CD7A8
tetradic
#A87CD7 #D77C7E #ABD77C #7CD7D6
square
#A87CD7 #D77C7E #ABD77C #7CD7D6
split-complementary
#A87CD7 #D7D67C #7ED77C
monochromatic
#6A33A6 #894DC9 #A87CD7 #C7ABE5 #E6DAF4
Accessibility & contrast
On white
3.22
#A87CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#A87CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87CD7
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87CD7 | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#668EDA
Deuteranopia (green-blind)
#7090D5
Tritanopia (blue-blind)
#A18B9F
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a87cd7; /* rgb */ color: rgb(168, 124, 215); /* oklch */ color: oklch(66.6% 0.138 305.2);
Tailwind
colors: {
custom: {
50: '#c3a2e3',
500: '#a87cd7',
950: '#000000',
},
}SCSS
$custom: #a87cd7; $custom-light: #c3a2e3; $custom-dark: #000000;
JSON
{
"hex": "#a87cd7",
"rgb": {
"r": 168,
"g": 124,
"b": 215
},
"hsl": {
"h": 269.011,
"s": 53.216,
"l": 66.471
},
"oklch": {
"l": 0.66551,
"c": 0.13792,
"h": 305.2
},
"luminance": 0.27646
}Semantic roles & 50–950 ramp
primary
#A87CD7
secondary
#D8E6C9
accent
#C12575
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83