#A87AF3#A87AF3
#A87AF3 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.176 H 299.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A87AF3 |
|---|---|
| RGB | rgb(168, 122, 243) |
| HSL | hsl(263, 83%, 72%) |
| HSV | hsv(263, 50%, 95%) |
| CMYK | cmyk(30.9%, 49.8%, 0%, 4.7%) |
| CIE-LAB | lab(60.53, 42.57, -54.53) |
| CIE-LCH | lch(60.53, 69.18, 307.98°) |
| OKLab | oklab(67.73% 0.0859 -0.1536) |
| OKLCH | oklch(67.73% 0.176 299.2) |
| XYZ | xyz(39.2818, 28.7146, 88.2496) |
| Luminance | 0.2872 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.37
Light Purple
#BF77F6
ΔE00 4.37
Easter Purple
#C071FE
ΔE00 4.74
Mediumpurple
#9370DB
ΔE00 5.40
Periwinkle (survey)
#8E82FE
ΔE00 6.39
Liliac
#C48EFD
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87AF3 #C5F37A
analogous
#7A89F3 #A87AF3 #E57AF3
triadic
#A87AF3 #F3A87A #7AF3A8
tetradic
#A87AF3 #F37A89 #C5F37A #7AF3E5
square
#A87AF3 #F37A89 #C5F37A #7AF3E5
split-complementary
#A87AF3 #F3E57A #89F37A
monochromatic
#6114DF #8342EE #A87AF3 #CDB2F8 #EDE3FC
Accessibility & contrast
On white
3.11
#A87AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#A87AF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87AF3
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87AF3 | 1.00 | 3.11 | 6.74 | 6.74 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5092F7
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#9991AB
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a87af3; /* rgb */ color: rgb(168, 122, 243); /* oklch */ color: oklch(67.7% 0.176 299.2);
Tailwind
colors: {
custom: {
50: '#c5a1f7',
500: '#a87af3',
950: '#000000',
},
}SCSS
$custom: #a87af3; $custom-light: #c5a1f7; $custom-dark: #000000;
JSON
{
"hex": "#a87af3",
"rgb": {
"r": 168,
"g": 122,
"b": 243
},
"hsl": {
"h": 262.81,
"s": 83.448,
"l": 71.569
},
"oklch": {
"l": 0.67729,
"c": 0.17602,
"h": 299.2
},
"luminance": 0.28715
}Semantic roles & 50–950 ramp
primary
#A87AF3
secondary
#E8F4D5
accent
#E0068D
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85