#A87FF2#A87FF2
#A87FF2 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.5% C 0.167 H 298.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A87FF2 |
|---|---|
| RGB | rgb(168, 127, 242) |
| HSL | hsl(261, 82%, 72%) |
| HSV | hsv(261, 48%, 95%) |
| CMYK | cmyk(30.6%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.58, 39.55, -52.30) |
| CIE-LCH | lch(61.58, 65.57, 307.10°) |
| OKLab | oklab(68.5% 0.0793 -0.1471) |
| OKLCH | oklch(68.5% 0.167 298.3) |
| XYZ | xyz(39.7610, 29.9140, 87.6664) |
| Luminance | 0.2991 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.54
Light Purple
#BF77F6
ΔE00 4.82
Easter Purple
#C071FE
ΔE00 5.51
Periwinkle (survey)
#8E82FE
ΔE00 6.02
Mediumpurple
#9370DB
ΔE00 6.03
Liliac
#C48EFD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87FF2 #C9F27F
analogous
#7F90F2 #A87FF2 #E17FF2
triadic
#A87FF2 #F2A87F #7FF2A8
tetradic
#A87FF2 #F27F90 #C9F27F #7FF2E1
square
#A87FF2 #F27F90 #C9F27F #7FF2E1
split-complementary
#A87FF2 #F2E17F #90F27F
monochromatic
#5E17E0 #8247EC #A87FF2 #CEB7F8 #ECE3FC
Accessibility & contrast
On white
3.01
#A87FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#A87FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87FF2
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87FF2 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#9994AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a87ff2; /* rgb */ color: rgb(168, 127, 242); /* oklch */ color: oklch(68.5% 0.167 298.3);
Tailwind
colors: {
custom: {
50: '#c5a5f7',
500: '#a87ff2',
950: '#000000',
},
}SCSS
$custom: #a87ff2; $custom-light: #c5a5f7; $custom-dark: #000000;
JSON
{
"hex": "#a87ff2",
"rgb": {
"r": 168,
"g": 127,
"b": 242
},
"hsl": {
"h": 261.391,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.68496,
"c": 0.16717,
"h": 298.3
},
"luminance": 0.29914
}Semantic roles & 50–950 ramp
primary
#A87FF2
secondary
#EAF4D7
accent
#DE0892
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85