#5117fe ≈ Han Purple
#5117fe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 9.02% green and 99.61% blue; printed in CMYK it uses 68.11% cyan, 90.94% magenta, 0% yellow and 0.39% black. Its hue angle is 255.06°, with 99.14% saturation and 54.31% 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.23:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.42.
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.0952 |
Shades
#5117fe mixed progressively with black.
Tints
#5117fe mixed progressively with white.
Tones
#5117fe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5117fe {
color: #5117fe;
}
.bg-5117fe {
background-color: #5117fe;
color: #ffffff;
}
.border-5117fe {
border: 2px solid #5117fe;
}
:root {
--color-primary: #5117fe;
--color-primary-rgb: 81 23 254;
--color-primary-hsl: 255 99% 54%;
}
.gradient-5117fe {
background: linear-gradient(135deg, #5117fe, #c417fe);
}
.shadow-5117fe {
box-shadow: 0 8px 24px rgb(81 23 254 / 0.35);
}
Han Purple
#5117fe rgb(81, 23, 254) hsl(255, 99%, 54%) Han Purple
#c4fe17 rgb(196, 254, 23) hsl(75, 99%, 54%) Electric Lime
#fe5117 rgb(254, 81, 23) hsl(15, 99%, 54%) International Orange
#17fe51 rgb(23, 254, 81) hsl(135, 99%, 54%) Lime