#A87CF0#A87CF0
#A87CF0 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.169 H 299.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A87CF0 |
|---|---|
| RGB | rgb(168, 124, 240) |
| HSL | hsl(263, 79%, 71%) |
| HSV | hsv(263, 48%, 94%) |
| CMYK | cmyk(30%, 48.3%, 0%, 5.9%) |
| CIE-LAB | lab(60.81, 40.73, -52.42) |
| CIE-LCH | lch(60.81, 66.38, 307.85°) |
| OKLab | oklab(67.89% 0.083 -0.1475) |
| OKLCH | oklch(67.89% 0.169 299.4) |
| XYZ | xyz(39.0806, 29.0311, 85.9658) |
| Luminance | 0.2903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.84
Light Purple
#BF77F6
ΔE00 4.46
Easter Purple
#C071FE
ΔE00 5.07
Mediumpurple
#9370DB
ΔE00 5.47
Periwinkle (survey)
#8E82FE
ΔE00 6.44
Liliac
#C48EFD
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87CF0 #C4F07C
analogous
#7C8AF0 #A87CF0 #E27CF0
triadic
#A87CF0 #F0A87C #7CF0A8
tetradic
#A87CF0 #F07C8A #C4F07C #7CF0E2
square
#A87CF0 #F07C8A #C4F07C #7CF0E2
split-complementary
#A87CF0 #F0E27C #8AF07C
monochromatic
#6219D9 #8445EA #A87CF0 #CCB3F6 #EDE4FC
Accessibility & contrast
On white
3.09
#A87CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#A87CF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87CF0
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87CF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87CF0 | 1.00 | 3.09 | 6.81 | 6.81 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5693F4
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#9992AB
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a87cf0; /* rgb */ color: rgb(168, 124, 240); /* oklch */ color: oklch(67.9% 0.169 299.4);
Tailwind
colors: {
custom: {
50: '#c5a3f5',
500: '#a87cf0',
950: '#000000',
},
}SCSS
$custom: #a87cf0; $custom-light: #c5a3f5; $custom-dark: #000000;
JSON
{
"hex": "#a87cf0",
"rgb": {
"r": 168,
"g": 124,
"b": 240
},
"hsl": {
"h": 262.759,
"s": 79.452,
"l": 71.373
},
"oklch": {
"l": 0.67886,
"c": 0.16925,
"h": 299.4
},
"luminance": 0.29031
}Semantic roles & 50–950 ramp
primary
#A87CF0
secondary
#E8F3D5
accent
#DC0A8C
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85