#A87FC2#A87FC2
#A87FC2 is a light, moderate violet. Relative luminance 0.274; OKLCH L 66.1% C 0.107 H 311.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A87FC2 |
|---|---|
| RGB | rgb(168, 127, 194) |
| HSL | hsl(277, 35%, 63%) |
| HSV | hsv(277, 35%, 76%) |
| CMYK | cmyk(13.4%, 34.5%, 0%, 23.9%) |
| CIE-LAB | lab(59.34, 28.35, -28.95) |
| CIE-LCH | lch(59.34, 40.52, 314.40°) |
| OKLab | oklab(66.08% 0.0708 -0.0796) |
| OKLCH | oklch(66.08% 0.107 311.7) |
| XYZ | xyz(33.4738, 27.3991, 54.5536) |
| Luminance | 0.2740 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 0.64
Soft Purple
#A66FB5
ΔE00 5.01
Pale Purple
#B790D4
ΔE00 5.33
Deep Lilac
#966EBD
ΔE00 6.34
Heather
#A484AC
ΔE00 6.47
Dark Lilac
#9C6DA5
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87FC2 #99C27F
analogous
#867FC2 #A87FC2 #C27FBB
triadic
#A87FC2 #C2A87F #7FC2A8
tetradic
#A87FC2 #C2867F #99C27F #7FBBC2
square
#A87FC2 #C2867F #99C27F #7FBBC2
split-complementary
#A87FC2 #BBC27F #7FC286
monochromatic
#6B4087 #8C56AE #A87FC2 #C4A8D6 #E0D2EA
Accessibility & contrast
On white
3.24
#A87FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#A87FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87FC2
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87FC2 | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#738DC5
Deuteranopia (green-blind)
#7D90C0
Tritanopia (blue-blind)
#A68898
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a87fc2; /* rgb */ color: rgb(168, 127, 194); /* oklch */ color: oklch(66.1% 0.107 311.7);
Tailwind
colors: {
custom: {
50: '#c3a4d4',
500: '#a87fc2',
950: '#000000',
},
}SCSS
$custom: #a87fc2; $custom-light: #c3a4d4; $custom-dark: #000000;
JSON
{
"hex": "#a87fc2",
"rgb": {
"r": 168,
"g": 127,
"b": 194
},
"hsl": {
"h": 276.716,
"s": 35.45,
"l": 62.941
},
"oklch": {
"l": 0.66077,
"c": 0.10654,
"h": 311.7
},
"luminance": 0.27399
}Semantic roles & 50–950 ramp
primary
#A87FC2
secondary
#CCDAC2
accent
#AE3765
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#120F14
muted
#817F83