#A87FF0#A87FF0
#A87FF0 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.165 H 298.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A87FF0 |
|---|---|
| RGB | rgb(168, 127, 240) |
| HSL | hsl(262, 79%, 72%) |
| HSV | hsv(262, 47%, 94%) |
| CMYK | cmyk(30%, 47.1%, 0%, 5.9%) |
| CIE-LAB | lab(61.48, 39.06, -51.36) |
| CIE-LCH | lch(61.48, 64.52, 307.25°) |
| OKLab | oklab(68.38% 0.0791 -0.1444) |
| OKLCH | oklch(68.38% 0.165 298.7) |
| XYZ | xyz(39.4623, 29.7945, 86.0931) |
| Luminance | 0.2979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.57
Light Purple
#BF77F6
ΔE00 4.79
Easter Purple
#C071FE
ΔE00 5.56
Mediumpurple
#9370DB
ΔE00 5.92
Liliac
#C48EFD
ΔE00 6.06
Periwinkle (survey)
#8E82FE
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87FF0 #C7F07F
analogous
#7F8FF0 #A87FF0 #E17FF0
triadic
#A87FF0 #F0A87F #7FF0A8
tetradic
#A87FF0 #F07F8F #C7F07F #7FF0E1
square
#A87FF0 #F07F8F #C7F07F #7FF0E1
split-complementary
#A87FF0 #F0E17F #8FF07F
monochromatic
#601ADB #8348EA #A87FF0 #CDB6F6 #ECE4FC
Accessibility & contrast
On white
3.02
#A87FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#A87FF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87FF0
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87FF0 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B94F4
Deuteranopia (green-blind)
#6493ED
Tritanopia (blue-blind)
#9994AC
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a87ff0; /* rgb */ color: rgb(168, 127, 240); /* oklch */ color: oklch(68.4% 0.165 298.7);
Tailwind
colors: {
custom: {
50: '#c5a5f5',
500: '#a87ff0',
950: '#000000',
},
}SCSS
$custom: #a87ff0; $custom-light: #c5a5f5; $custom-dark: #000000;
JSON
{
"hex": "#a87ff0",
"rgb": {
"r": 168,
"g": 127,
"b": 240
},
"hsl": {
"h": 261.77,
"s": 79.021,
"l": 71.961
},
"oklch": {
"l": 0.68385,
"c": 0.16465,
"h": 298.7
},
"luminance": 0.29795
}Semantic roles & 50–950 ramp
primary
#A87FF0
secondary
#E9F4D7
accent
#DB0A8F
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85