#511cf2 ≈ Han Purple
#511cf2 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 94.9% blue; printed in CMYK it uses 66.53% cyan, 88.43% magenta, 0% yellow and 5.1% black. Its hue angle is 254.86°, with 89.17% 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.51:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.9.
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.0899 |
Shades
#511cf2 mixed progressively with black.
Tints
#511cf2 mixed progressively with white.
Tones
#511cf2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511cf2 {
color: #511cf2;
}
.bg-511cf2 {
background-color: #511cf2;
color: #ffffff;
}
.border-511cf2 {
border: 2px solid #511cf2;
}
:root {
--color-primary: #511cf2;
--color-primary-rgb: 81 28 242;
--color-primary-hsl: 255 89% 53%;
}
.gradient-511cf2 {
background: linear-gradient(135deg, #511cf2, #bc1cf2);
}
.shadow-511cf2 {
box-shadow: 0 8px 24px rgb(81 28 242 / 0.35);
}
Han Purple
#511cf2 rgb(81, 28, 242) hsl(255, 89%, 53%) Han Purple
#bdf21c rgb(189, 242, 28) hsl(75, 89%, 53%) Electric Lime
#f2511c rgb(242, 81, 28) hsl(15, 89%, 53%) Tangelo
#1cf251 rgb(28, 242, 81) hsl(135, 89%, 53%) Spring Green