#A87FD2#A87FD2
#A87FD2 is a light, vivid violet. Relative luminance 0.282; OKLCH L 66.8% C 0.127 H 306.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A87FD2 |
|---|---|
| RGB | rgb(168, 127, 210) |
| HSL | hsl(270, 48%, 66%) |
| HSV | hsv(270, 40%, 82%) |
| CMYK | cmyk(20%, 39.5%, 0%, 17.6%) |
| CIE-LAB | lab(60.03, 31.92, -36.91) |
| CIE-LCH | lch(60.03, 48.80, 310.85°) |
| OKLab | oklab(66.83% 0.0744 -0.1024) |
| OKLCH | oklch(66.83% 0.127 306) |
| XYZ | xyz(35.3684, 28.1569, 64.5319) |
| Luminance | 0.2816 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.38
Pale Purple
#B790D4
ΔE00 5.69
Deep Lilac
#966EBD
ΔE00 6.25
Soft Purple
#A66FB5
ΔE00 6.85
Mediumpurple
#9370DB
ΔE00 6.90
Light Purple
#BF77F6
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87FD2 #A9D27F
analogous
#7F7FD2 #A87FD2 #D27FD2
triadic
#A87FD2 #D2A87F #7FD2A8
tetradic
#A87FD2 #D27F7F #A9D27F #7FD2D2
square
#A87FD2 #D27F7F #A9D27F #7FD2D2
split-complementary
#A87FD2 #D2D27F #7FD27F
monochromatic
#6B389F #8952C2 #A87FD2 #C7ACE2 #E6DAF2
Accessibility & contrast
On white
3.17
#A87FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#A87FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87FD2
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87FD2 | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C8FD5
Deuteranopia (green-blind)
#7691D0
Tritanopia (blue-blind)
#A28C9F
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a87fd2; /* rgb */ color: rgb(168, 127, 210); /* oklch */ color: oklch(66.8% 0.127 306.0);
Tailwind
colors: {
custom: {
50: '#c3a4e0',
500: '#a87fd2',
950: '#000000',
},
}SCSS
$custom: #a87fd2; $custom-light: #c3a4e0; $custom-dark: #000000;
JSON
{
"hex": "#a87fd2",
"rgb": {
"r": 168,
"g": 127,
"b": 210
},
"hsl": {
"h": 269.639,
"s": 47.977,
"l": 66.078
},
"oklch": {
"l": 0.66825,
"c": 0.12661,
"h": 306
},
"luminance": 0.28157
}Semantic roles & 50–950 ramp
primary
#A87FD2
secondary
#D7E4C9
accent
#BB2A74
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83