#A87EF0#A87EF0
#A87EF0 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.166 H 298.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A87EF0 |
|---|---|
| RGB | rgb(168, 126, 240) |
| HSL | hsl(262, 79%, 72%) |
| HSV | hsv(262, 48%, 94%) |
| CMYK | cmyk(30%, 47.5%, 0%, 5.9%) |
| CIE-LAB | lab(61.25, 39.61, -51.72) |
| CIE-LCH | lch(61.25, 65.14, 307.45°) |
| OKLab | oklab(68.22% 0.0804 -0.1454) |
| OKLCH | oklch(68.22% 0.166 298.9) |
| XYZ | xyz(39.3337, 29.5375, 86.0502) |
| Luminance | 0.2954 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.32
Light Purple
#BF77F6
ΔE00 4.67
Easter Purple
#C071FE
ΔE00 5.39
Mediumpurple
#9370DB
ΔE00 5.76
Liliac
#C48EFD
ΔE00 6.20
Periwinkle (survey)
#8E82FE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87EF0 #C6F07E
analogous
#7E8DF0 #A87EF0 #E17EF0
triadic
#A87EF0 #F0A87E #7EF0A8
tetradic
#A87EF0 #F07E8D #C6F07E #7EF0E1
square
#A87EF0 #F07E8D #C6F07E #7EF0E1
split-complementary
#A87EF0 #F0E17E #8DF07E
monochromatic
#6019DA #8347EA #A87EF0 #CDB5F6 #EDE4FC
Accessibility & contrast
On white
3.04
#A87EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#A87EF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87EF0
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87EF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87EF0 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#6393ED
Tritanopia (blue-blind)
#9993AC
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a87ef0; /* rgb */ color: rgb(168, 126, 240); /* oklch */ color: oklch(68.2% 0.166 298.9);
Tailwind
colors: {
custom: {
50: '#c5a4f5',
500: '#a87ef0',
950: '#000000',
},
}SCSS
$custom: #a87ef0; $custom-light: #c5a4f5; $custom-dark: #000000;
JSON
{
"hex": "#a87ef0",
"rgb": {
"r": 168,
"g": 126,
"b": 240
},
"hsl": {
"h": 262.105,
"s": 79.167,
"l": 71.765
},
"oklch": {
"l": 0.68218,
"c": 0.16618,
"h": 298.9
},
"luminance": 0.29538
}Semantic roles & 50–950 ramp
primary
#A87EF0
secondary
#E9F3D6
accent
#DB0A8E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85