#511cfe ≈ Han Purple
#511cfe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 10.98% green and 99.61% blue; printed in CMYK it uses 68.11% cyan, 88.98% magenta, 0% yellow and 0.39% black. Its hue angle is 254.07°, with 99.12% saturation and 55.29% 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.13:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.71.
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.0974 |
Shades
#511cfe mixed progressively with black.
Tints
#511cfe mixed progressively with white.
Tones
#511cfe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511cfe {
color: #511cfe;
}
.bg-511cfe {
background-color: #511cfe;
color: #ffffff;
}
.border-511cfe {
border: 2px solid #511cfe;
}
:root {
--color-primary: #511cfe;
--color-primary-rgb: 81 28 254;
--color-primary-hsl: 254 99% 55%;
}
.gradient-511cfe {
background: linear-gradient(135deg, #511cfe, #c21cfe);
}
.shadow-511cfe {
box-shadow: 0 8px 24px rgb(81 28 254 / 0.35);
}
Han Purple
#511cfe rgb(81, 28, 254) hsl(254, 99%, 55%) Han Purple
#c9fe1c rgb(201, 254, 28) hsl(74, 99%, 55%) Electric Lime
#fe511c rgb(254, 81, 28) hsl(14, 99%, 55%) Orange Red
#1cfe51 rgb(28, 254, 81) hsl(134, 99%, 55%) Lime