#501fef ≈ Han Purple
#501fef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.37% red, 12.16% green and 93.73% blue; printed in CMYK it uses 66.53% cyan, 87.03% magenta, 0% yellow and 6.27% black. Its hue angle is 254.13°, with 86.67% saturation and 52.94% 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.54:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.25.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0892 |
Shades
#501fef mixed progressively with black.
Tints
#501fef mixed progressively with white.
Tones
#501fef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-501fef {
color: #501fef;
}
.bg-501fef {
background-color: #501fef;
color: #ffffff;
}
.border-501fef {
border: 2px solid #501fef;
}
:root {
--color-primary: #501fef;
--color-primary-rgb: 80 31 239;
--color-primary-hsl: 254 87% 53%;
}
.gradient-501fef {
background: linear-gradient(135deg, #501fef, #b81fef);
}
.shadow-501fef {
box-shadow: 0 8px 24px rgb(80 31 239 / 0.35);
}
Han Purple
#501fef rgb(80, 31, 239) hsl(254, 87%, 53%) Han Purple
#beef1f rgb(190, 239, 31) hsl(74, 87%, 53%) Electric Lime
#ef501f rgb(239, 80, 31) hsl(14, 87%, 53%) Flame
#1fef50 rgb(31, 239, 80) hsl(134, 87%, 53%) Malachite