#5018fa ≈ Han Purple
#5018fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.37% red, 9.41% green and 98.04% blue; printed in CMYK it uses 68% cyan, 90.4% magenta, 0% yellow and 1.96% black. Its hue angle is 254.87°, with 95.76% saturation and 53.73% 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. White text on this color reaches a contrast ratio of 7.36:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.19.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0926 |
Shades
#5018fa mixed progressively with black.
Tints
#5018fa mixed progressively with white.
Tones
#5018fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5018fa {
color: #5018fa;
}
.bg-5018fa {
background-color: #5018fa;
color: #ffffff;
}
.border-5018fa {
border: 2px solid #5018fa;
}
:root {
--color-primary: #5018fa;
--color-primary-rgb: 80 24 250;
--color-primary-hsl: 255 96% 54%;
}
.gradient-5018fa {
background: linear-gradient(135deg, #5018fa, #c118fa);
}
.shadow-5018fa {
box-shadow: 0 8px 24px rgb(80 24 250 / 0.35);
}
Han Purple
#5018fa rgb(80, 24, 250) hsl(255, 96%, 54%) Han Purple
#c2fa18 rgb(194, 250, 24) hsl(75, 96%, 54%) Electric Lime
#fa5018 rgb(250, 80, 24) hsl(15, 96%, 54%) Orange Red
#18fa50 rgb(24, 250, 80) hsl(135, 96%, 54%) Lime