#5104f9 ≈ Han Purple
#5104f9 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 1.57% green and 97.65% blue; printed in CMYK it uses 67.47% cyan, 98.39% magenta, 0% yellow and 2.35% black. Its hue angle is 258.86°, with 96.84% saturation and 49.61% 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.68:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.3.
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.0868 |
Shades
#5104f9 mixed progressively with black.
Tints
#5104f9 mixed progressively with white.
Tones
#5104f9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5104f9 {
color: #5104f9;
}
.bg-5104f9 {
background-color: #5104f9;
color: #ffffff;
}
.border-5104f9 {
border: 2px solid #5104f9;
}
:root {
--color-primary: #5104f9;
--color-primary-rgb: 81 4 249;
--color-primary-hsl: 259 97% 50%;
}
.gradient-5104f9 {
background: linear-gradient(135deg, #5104f9, #cc04f9);
}
.shadow-5104f9 {
box-shadow: 0 8px 24px rgb(81 4 249 / 0.35);
}
Han Purple
#5104f9 rgb(81, 4, 249) hsl(259, 97%, 50%) Han Purple
#acf904 rgb(172, 249, 4) hsl(79, 97%, 50%) Spring Bud
#f95104 rgb(249, 81, 4) hsl(19, 97%, 50%) Tangelo
#04f951 rgb(4, 249, 81) hsl(139, 97%, 50%) Lime