#A87DF0#A87DF0
#A87DF0 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.1% C 0.168 H 299.2°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A87DF0 |
|---|---|
| RGB | rgb(168, 125, 240) |
| HSL | hsl(262, 79%, 72%) |
| HSV | hsv(262, 48%, 94%) |
| CMYK | cmyk(30%, 47.9%, 0%, 5.9%) |
| CIE-LAB | lab(61.03, 40.17, -52.07) |
| CIE-LCH | lch(61.03, 65.76, 307.65°) |
| OKLab | oklab(68.05% 0.0817 -0.1465) |
| OKLCH | oklch(68.05% 0.168 299.2) |
| XYZ | xyz(39.2065, 29.2830, 86.0078) |
| Luminance | 0.2928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.08
Light Purple
#BF77F6
ΔE00 4.55
Easter Purple
#C071FE
ΔE00 5.22
Mediumpurple
#9370DB
ΔE00 5.61
Periwinkle (survey)
#8E82FE
ΔE00 6.35
Liliac
#C48EFD
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87DF0 #C5F07D
analogous
#7D8CF0 #A87DF0 #E27DF0
triadic
#A87DF0 #F0A87D #7DF0A8
tetradic
#A87DF0 #F07D8C #C5F07D #7DF0E2
square
#A87DF0 #F07D8C #C5F07D #7DF0E2
split-complementary
#A87DF0 #F0E27D #8CF07D
monochromatic
#6119DA #8346EA #A87DF0 #CDB4F6 #EDE4FC
Accessibility & contrast
On white
3.06
#A87DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#A87DF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87DF0
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87DF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87DF0 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5893F4
Deuteranopia (green-blind)
#6292ED
Tritanopia (blue-blind)
#9992AB
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a87df0; /* rgb */ color: rgb(168, 125, 240); /* oklch */ color: oklch(68.1% 0.168 299.2);
Tailwind
colors: {
custom: {
50: '#c5a3f5',
500: '#a87df0',
950: '#000000',
},
}SCSS
$custom: #a87df0; $custom-light: #c5a3f5; $custom-dark: #000000;
JSON
{
"hex": "#a87df0",
"rgb": {
"r": 168,
"g": 125,
"b": 240
},
"hsl": {
"h": 262.435,
"s": 79.31,
"l": 71.569
},
"oklch": {
"l": 0.68051,
"c": 0.16772,
"h": 299.2
},
"luminance": 0.29283
}Semantic roles & 50–950 ramp
primary
#A87DF0
secondary
#E8F3D6
accent
#DC0A8D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85