#5128fe ≈ Han Purple
#5128fe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 15.69% green and 99.61% blue; printed in CMYK it uses 68.11% cyan, 84.25% magenta, 0% yellow and 0.39% black. Its hue angle is 251.5°, with 99.07% saturation and 57.65% 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 6.81:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.
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.1042 |
Shades
#5128fe mixed progressively with black.
Tints
#5128fe mixed progressively with white.
Tones
#5128fe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5128fe {
color: #5128fe;
}
.bg-5128fe {
background-color: #5128fe;
color: #ffffff;
}
.border-5128fe {
border: 2px solid #5128fe;
}
:root {
--color-primary: #5128fe;
--color-primary-rgb: 81 40 254;
--color-primary-hsl: 252 99% 58%;
}
.gradient-5128fe {
background: linear-gradient(135deg, #5128fe, #bc28fe);
}
.shadow-5128fe {
box-shadow: 0 8px 24px rgb(81 40 254 / 0.35);
}
Han Purple
#5128fe rgb(81, 40, 254) hsl(252, 99%, 58%) Han Purple
#d5fe28 rgb(213, 254, 40) hsl(72, 99%, 58%) Electric Lime
#fe5128 rgb(254, 81, 40) hsl(12, 99%, 58%) Orange Red
#28fe51 rgb(40, 254, 81) hsl(132, 99%, 58%) Lime