#A87BE6#A87BE6
#A87BE6 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.158 H 301.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A87BE6 |
|---|---|
| RGB | rgb(168, 123, 230) |
| HSL | hsl(265, 68%, 69%) |
| HSV | hsv(265, 47%, 90%) |
| CMYK | cmyk(27%, 46.5%, 0%, 9.8%) |
| CIE-LAB | lab(60.07, 38.86, -48.04) |
| CIE-LCH | lch(60.07, 61.78, 308.97°) |
| OKLab | oklab(67.17% 0.0832 -0.1347) |
| OKLCH | oklch(67.17% 0.158 301.7) |
| XYZ | xyz(37.5111, 28.2038, 78.3153) |
| Luminance | 0.2820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.13
Light Purple
#BF77F6
ΔE00 4.53
Mediumpurple
#9370DB
ΔE00 5.00
Easter Purple
#C071FE
ΔE00 5.45
Liliac
#C48EFD
ΔE00 6.84
Wisteria
#A87DC2
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A87BE6 #B9E67B
analogous
#7B84E6 #A87BE6 #DE7BE6
triadic
#A87BE6 #E6A87B #7BE6A8
tetradic
#A87BE6 #E67B84 #B9E67B #7BE6DE
square
#A87BE6 #E67B84 #B9E67B #7BE6DE
split-complementary
#A87BE6 #E6DE7B #84E67B
monochromatic
#6725C2 #8648DC #A87BE6 #CAAEF0 #ECE2F9
Accessibility & contrast
On white
3.16
#A87BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#A87BE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A87BE6
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A87BE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A87BE6 | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C90EA
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#9D8EA6
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a87be6; /* rgb */ color: rgb(168, 123, 230); /* oklch */ color: oklch(67.2% 0.158 301.7);
Tailwind
colors: {
custom: {
50: '#c4a2ee',
500: '#a87be6',
950: '#000000',
},
}SCSS
$custom: #a87be6; $custom-light: #c4a2ee; $custom-dark: #000000;
JSON
{
"hex": "#a87be6",
"rgb": {
"r": 168,
"g": 123,
"b": 230
},
"hsl": {
"h": 265.234,
"s": 68.153,
"l": 69.216
},
"oklch": {
"l": 0.67168,
"c": 0.15832,
"h": 301.7
},
"luminance": 0.28204
}Semantic roles & 50–950 ramp
primary
#A87BE6
secondary
#E1EECF
accent
#D01582
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84