#a381fc ≈ Medium Purple
#a381fc is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 63.92% red, 50.59% green and 98.82% blue; printed in CMYK it uses 35.32% cyan, 48.81% magenta, 0% yellow and 1.18% black. Its hue angle is 256.59°, with 95.35% saturation and 74.71% 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.1:1 (WCAG AAA). The closest named color is Medium Purple (#9370db), ΔE 6.81.
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.3052 |
Shades
#a381fc mixed progressively with black.
Tints
#a381fc mixed progressively with white.
Tones
#a381fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a381fc {
color: #a381fc;
}
.bg-a381fc {
background-color: #a381fc;
color: #000000;
}
.border-a381fc {
border: 2px solid #a381fc;
}
:root {
--color-primary: #a381fc;
--color-primary-rgb: 163 129 252;
--color-primary-hsl: 257 95% 75%;
}
.gradient-a381fc {
background: linear-gradient(135deg, #a381fc, #e181fc);
}
.shadow-a381fc {
box-shadow: 0 8px 24px rgb(163 129 252 / 0.35);
}
Medium Purple
#a381fc rgb(163, 129, 252) hsl(257, 95%, 75%) Medium Purple
#dafc81 rgb(218, 252, 129) hsl(77, 95%, 75%) Inchworm
#fca381 rgb(252, 163, 129) hsl(17, 95%, 75%) Light Salmon
#81fca3 rgb(129, 252, 163) hsl(137, 95%, 75%) Pale Green