#A87AF2#A87AF2
#A87AF2 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.175 H 299.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A87AF2 |
|---|---|
| RGB | rgb(168, 122, 242) |
| HSL | hsl(263, 82%, 71%) |
| HSV | hsv(263, 50%, 95%) |
| CMYK | cmyk(30.6%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(60.48, 42.33, -54.06) |
| CIE-LCH | lch(60.48, 68.66, 308.06°) |
| OKLab | oklab(67.67% 0.0858 -0.1523) |
| OKLCH | oklch(67.67% 0.175 299.4) |
| XYZ | xyz(39.1312, 28.6544, 87.4564) |
| Luminance | 0.2866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.37
Light Purple
#BF77F6
ΔE00 4.35
Easter Purple
#C071FE
ΔE00 4.76
Mediumpurple
#9370DB
ΔE00 5.33
Periwinkle (survey)
#8E82FE
ΔE00 6.47
Liliac
#C48EFD
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87AF2 #C4F27A
analogous
#7A88F2 #A87AF2 #E47AF2
triadic
#A87AF2 #F2A87A #7AF2A8
tetradic
#A87AF2 #F27A88 #C4F27A #7AF2E4
square
#A87AF2 #F27A88 #C4F27A #7AF2E4
split-complementary
#A87AF2 #F2E47A #88F27A
monochromatic
#6216DC #8442ED #A87AF2 #CCB2F7 #EDE3FC
Accessibility & contrast
On white
3.12
#A87AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#A87AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87AF2
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87AF2 | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#9991AB
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a87af2; /* rgb */ color: rgb(168, 122, 242); /* oklch */ color: oklch(67.7% 0.175 299.4);
Tailwind
colors: {
custom: {
50: '#c5a1f7',
500: '#a87af2',
950: '#000000',
},
}SCSS
$custom: #a87af2; $custom-light: #c5a1f7; $custom-dark: #000000;
JSON
{
"hex": "#a87af2",
"rgb": {
"r": 168,
"g": 122,
"b": 242
},
"hsl": {
"h": 263,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.67671,
"c": 0.17478,
"h": 299.4
},
"luminance": 0.28655
}Semantic roles & 50–950 ramp
primary
#A87AF2
secondary
#E8F3D4
accent
#DF078C
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85