#511efd ≈ Han Purple
#511efd 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 99.22% blue; printed in CMYK it uses 67.98% cyan, 88.14% magenta, 0% yellow and 0.78% black. Its hue angle is 253.72°, with 98.24% saturation and 55.49% 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.11:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.78.
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.0977 |
Shades
#511efd mixed progressively with black.
Tints
#511efd mixed progressively with white.
Tones
#511efd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511efd {
color: #511efd;
}
.bg-511efd {
background-color: #511efd;
color: #ffffff;
}
.border-511efd {
border: 2px solid #511efd;
}
:root {
--color-primary: #511efd;
--color-primary-rgb: 81 30 253;
--color-primary-hsl: 254 98% 55%;
}
.gradient-511efd {
background: linear-gradient(135deg, #511efd, #c01efd);
}
.shadow-511efd {
box-shadow: 0 8px 24px rgb(81 30 253 / 0.35);
}
Han Purple
#511efd rgb(81, 30, 253) hsl(254, 98%, 55%) Han Purple
#cafd1e rgb(202, 253, 30) hsl(74, 98%, 55%) Electric Lime
#fd511e rgb(253, 81, 30) hsl(14, 98%, 55%) Orange Red
#1efd51 rgb(30, 253, 81) hsl(134, 98%, 55%) Lime