#5017fa ≈ Han Purple
#5017fa 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.02% green and 98.04% blue; printed in CMYK it uses 68% cyan, 90.8% magenta, 0% yellow and 1.96% black. Its hue angle is 255.07°, with 95.78% saturation and 53.53% 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.38:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.23.
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.0922 |
Shades
#5017fa mixed progressively with black.
Tints
#5017fa mixed progressively with white.
Tones
#5017fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5017fa {
color: #5017fa;
}
.bg-5017fa {
background-color: #5017fa;
color: #ffffff;
}
.border-5017fa {
border: 2px solid #5017fa;
}
:root {
--color-primary: #5017fa;
--color-primary-rgb: 80 23 250;
--color-primary-hsl: 255 96% 54%;
}
.gradient-5017fa {
background: linear-gradient(135deg, #5017fa, #c217fa);
}
.shadow-5017fa {
box-shadow: 0 8px 24px rgb(80 23 250 / 0.35);
}
Han Purple
#5017fa rgb(80, 23, 250) hsl(255, 96%, 54%) Han Purple
#c1fa17 rgb(193, 250, 23) hsl(75, 96%, 54%) Electric Lime
#fa5017 rgb(250, 80, 23) hsl(15, 96%, 54%) Orange Red
#17fa50 rgb(23, 250, 80) hsl(135, 96%, 54%) Lime