#511eec ≈ Han Purple
#511eec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 11.76% green and 92.55% blue; printed in CMYK it uses 65.68% cyan, 87.29% magenta, 0% yellow and 7.45% black. Its hue angle is 254.85°, with 84.43% saturation and 52.16% 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.65:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.56.
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.0873 |
Shades
#511eec mixed progressively with black.
Tints
#511eec mixed progressively with white.
Tones
#511eec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511eec {
color: #511eec;
}
.bg-511eec {
background-color: #511eec;
color: #ffffff;
}
.border-511eec {
border: 2px solid #511eec;
}
:root {
--color-primary: #511eec;
--color-primary-rgb: 81 30 236;
--color-primary-hsl: 255 84% 52%;
}
.gradient-511eec {
background: linear-gradient(135deg, #511eec, #b81eec);
}
.shadow-511eec {
box-shadow: 0 8px 24px rgb(81 30 236 / 0.35);
}
Han Purple
#511eec rgb(81, 30, 236) hsl(255, 84%, 52%) Han Purple
#b9ec1e rgb(185, 236, 30) hsl(75, 84%, 52%) Electric Lime
#ec511e rgb(236, 81, 30) hsl(15, 84%, 52%) Flame
#1eec51 rgb(30, 236, 81) hsl(135, 84%, 52%) Malachite