#A87DF2#A87DF2
#A87DF2 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.170 H 298.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A87DF2 |
|---|---|
| RGB | rgb(168, 125, 242) |
| HSL | hsl(262, 82%, 72%) |
| HSV | hsv(262, 48%, 95%) |
| CMYK | cmyk(30.6%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(61.14, 40.66, -53.01) |
| CIE-LCH | lch(61.14, 66.81, 307.49°) |
| OKLab | oklab(68.16% 0.0819 -0.1492) |
| OKLCH | oklch(68.16% 0.17 298.8) |
| XYZ | xyz(39.5052, 29.4025, 87.5811) |
| Luminance | 0.2940 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.06
Light Purple
#BF77F6
ΔE00 4.59
Easter Purple
#C071FE
ΔE00 5.18
Mediumpurple
#9370DB
ΔE00 5.72
Periwinkle (survey)
#8E82FE
ΔE00 6.17
Liliac
#C48EFD
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87DF2 #C7F27D
analogous
#7D8DF2 #A87DF2 #E27DF2
triadic
#A87DF2 #F2A87D #7DF2A8
tetradic
#A87DF2 #F27D8D #C7F27D #7DF2E2
square
#A87DF2 #F27D8D #C7F27D #7DF2E2
split-complementary
#A87DF2 #F2E27D #8DF27D
monochromatic
#6016DE #8345EC #A87DF2 #CDB5F8 #ECE3FC
Accessibility & contrast
On white
3.05
#A87DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#A87DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87DF2
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87DF2 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#6093EF
Tritanopia (blue-blind)
#9993AC
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a87df2; /* rgb */ color: rgb(168, 125, 242); /* oklch */ color: oklch(68.2% 0.170 298.8);
Tailwind
colors: {
custom: {
50: '#c5a3f7',
500: '#a87df2',
950: '#000000',
},
}SCSS
$custom: #a87df2; $custom-light: #c5a3f7; $custom-dark: #000000;
JSON
{
"hex": "#a87df2",
"rgb": {
"r": 168,
"g": 125,
"b": 242
},
"hsl": {
"h": 262.051,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.68164,
"c": 0.17022,
"h": 298.8
},
"luminance": 0.29403
}Semantic roles & 50–950 ramp
primary
#A87DF2
secondary
#E9F4D7
accent
#DE078F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85