#A87FDB#A87FDB
#A87FDB is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.3% C 0.138 H 303.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A87FDB |
|---|---|
| RGB | rgb(168, 127, 219) |
| HSL | hsl(267, 56%, 68%) |
| HSV | hsv(267, 42%, 86%) |
| CMYK | cmyk(23.3%, 42%, 0%, 14.1%) |
| CIE-LAB | lab(60.44, 34.01, -41.31) |
| CIE-LCH | lch(60.44, 53.51, 309.46°) |
| OKLab | oklab(67.27% 0.0761 -0.1152) |
| OKLCH | oklch(67.27% 0.138 303.4) |
| XYZ | xyz(36.5213, 28.6181, 70.6039) |
| Luminance | 0.2862 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.13
Light Purple
#BF77F6
ΔE00 5.80
Mediumpurple
#9370DB
ΔE00 6.04
Light Urple
#B36FF6
ΔE00 6.16
Pale Purple
#B790D4
ΔE00 6.56
Liliac
#C48EFD
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87FDB #B2DB7F
analogous
#7F84DB #A87FDB #D67FDB
triadic
#A87FDB #DBA87F #7FDBA8
tetradic
#A87FDB #DB7F84 #B2DB7F #7FDBD6
square
#A87FDB #DB7F84 #B2DB7F #7FDBD6
split-complementary
#A87FDB #DBD67F #84DB7F
monochromatic
#6931AF #884FCE #A87FDB #C8AFE8 #E9DFF6
Accessibility & contrast
On white
3.12
#A87FDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#A87FDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87FDB
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87FDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87FDB | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6891DE
Deuteranopia (green-blind)
#7192D9
Tritanopia (blue-blind)
#9F8EA3
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a87fdb; /* rgb */ color: rgb(168, 127, 219); /* oklch */ color: oklch(67.3% 0.138 303.4);
Tailwind
colors: {
custom: {
50: '#c3a5e6',
500: '#a87fdb',
950: '#000000',
},
}SCSS
$custom: #a87fdb; $custom-light: #c3a5e6; $custom-dark: #000000;
JSON
{
"hex": "#a87fdb",
"rgb": {
"r": 168,
"g": 127,
"b": 219
},
"hsl": {
"h": 266.739,
"s": 56.098,
"l": 67.843
},
"oklch": {
"l": 0.67272,
"c": 0.13802,
"h": 303.4
},
"luminance": 0.28618
}Semantic roles & 50–950 ramp
primary
#A87FDB
secondary
#DCE9CD
accent
#C4227C
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84