#A87CF6#A87CF6
#A87CF6 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.177 H 298.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A87CF6 |
|---|---|
| RGB | rgb(168, 124, 246) |
| HSL | hsl(262, 87%, 73%) |
| HSV | hsv(262, 50%, 96%) |
| CMYK | cmyk(31.7%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(61.13, 42.21, -55.23) |
| CIE-LCH | lch(61.13, 69.51, 307.39°) |
| OKLab | oklab(68.23% 0.0836 -0.1557) |
| OKLCH | oklch(68.23% 0.177 298.2) |
| XYZ | xyz(39.9866, 29.3935, 90.7378) |
| Luminance | 0.2939 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.85
Light Purple
#BF77F6
ΔE00 4.61
Easter Purple
#C071FE
ΔE00 4.99
Mediumpurple
#9370DB
ΔE00 5.87
Periwinkle (survey)
#8E82FE
ΔE00 5.95
Liliac
#C48EFD
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87CF6 #CAF67C
analogous
#7C8DF6 #A87CF6 #E57CF6
triadic
#A87CF6 #F6A87C #7CF6A8
tetradic
#A87CF6 #F67C8D #CAF67C #7CF6E5
square
#A87CF6 #F67C8D #CAF67C #7CF6E5
split-complementary
#A87CF6 #F6E57C #8DF67C
monochromatic
#5E10E8 #8243F2 #A87CF6 #CEB5FA #ECE2FD
Accessibility & contrast
On white
3.05
#A87CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#A87CF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87CF6
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87CF6 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5194FA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#9793AE
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a87cf6; /* rgb */ color: rgb(168, 124, 246); /* oklch */ color: oklch(68.2% 0.177 298.2);
Tailwind
colors: {
custom: {
50: '#c5a3fa',
500: '#a87cf6',
950: '#000000',
},
}SCSS
$custom: #a87cf6; $custom-light: #c5a3fa; $custom-dark: #000000;
JSON
{
"hex": "#a87cf6",
"rgb": {
"r": 168,
"g": 124,
"b": 246
},
"hsl": {
"h": 261.639,
"s": 87.143,
"l": 72.549
},
"oklch": {
"l": 0.68227,
"c": 0.17672,
"h": 298.2
},
"luminance": 0.29394
}Semantic roles & 50–950 ramp
primary
#A87CF6
secondary
#EAF5D6
accent
#E40292
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85