#a87fff ≈ Medium Purple
#a87fff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 65.88% red, 49.8% green and 100% blue; printed in CMYK it uses 34.12% cyan, 50.2% magenta, 0% yellow and 0% black. Its hue angle is 259.22°, with 100% saturation and 74.9% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 7.14:1 (WCAG AAA). The closest named color is Medium Purple (#9370db), ΔE 7.02.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3072 |
Shades
#a87fff mixed progressively with black.
Tints
#a87fff mixed progressively with white.
Tones
#a87fff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a87fff {
color: #a87fff;
}
.bg-a87fff {
background-color: #a87fff;
color: #000000;
}
.border-a87fff {
border: 2px solid #a87fff;
}
:root {
--color-primary: #a87fff;
--color-primary-rgb: 168 127 255;
--color-primary-hsl: 259 100% 75%;
}
.gradient-a87fff {
background: linear-gradient(135deg, #a87fff, #e87fff);
}
.shadow-a87fff {
box-shadow: 0 8px 24px rgb(168 127 255 / 0.35);
}
Medium Purple
#a87fff rgb(168, 127, 255) hsl(259, 100%, 75%) Medium Purple
#d6ff7f rgb(214, 255, 127) hsl(79, 100%, 75%) Inchworm
#ffa87f rgb(255, 168, 127) hsl(19, 100%, 75%) Light Salmon
#7fffa8 rgb(127, 255, 168) hsl(139, 100%, 75%) Pale Green