#a387fe ≈ Medium Purple
#a387fe is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 63.92% red, 52.94% green and 99.61% blue; printed in CMYK it uses 35.83% cyan, 46.85% magenta, 0% yellow and 0.39% black. Its hue angle is 254.12°, with 98.35% saturation and 76.27% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 7.45:1 (WCAG AAA). The closest named color is Medium Purple (#9370db), ΔE 8.08.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9999ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3227 |
Shades
#a387fe mixed progressively with black.
Tints
#a387fe mixed progressively with white.
Tones
#a387fe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a387fe {
color: #a387fe;
}
.bg-a387fe {
background-color: #a387fe;
color: #000000;
}
.border-a387fe {
border: 2px solid #a387fe;
}
:root {
--color-primary: #a387fe;
--color-primary-rgb: 163 135 254;
--color-primary-hsl: 254 98% 76%;
}
.gradient-a387fe {
background: linear-gradient(135deg, #a387fe, #de87fe);
}
.shadow-a387fe {
box-shadow: 0 8px 24px rgb(163 135 254 / 0.35);
}
Medium Purple
#a387fe rgb(163, 135, 254) hsl(254, 98%, 76%) Medium Purple
#e2fe87 rgb(226, 254, 135) hsl(74, 98%, 76%) Pastel Yellow
#fea387 rgb(254, 163, 135) hsl(14, 98%, 76%) Vivid Tangerine
#87fea3 rgb(135, 254, 163) hsl(134, 98%, 76%) Pale Green