#511ffd ≈ Han Purple
#511ffd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 12.16% green and 99.22% blue; printed in CMYK it uses 67.98% cyan, 87.75% magenta, 0% yellow and 0.78% black. Its hue angle is 253.51°, with 98.23% saturation and 55.69% 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.08:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.88.
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.0982 |
Shades
#511ffd mixed progressively with black.
Tints
#511ffd mixed progressively with white.
Tones
#511ffd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511ffd {
color: #511ffd;
}
.bg-511ffd {
background-color: #511ffd;
color: #ffffff;
}
.border-511ffd {
border: 2px solid #511ffd;
}
:root {
--color-primary: #511ffd;
--color-primary-rgb: 81 31 253;
--color-primary-hsl: 254 98% 56%;
}
.gradient-511ffd {
background: linear-gradient(135deg, #511ffd, #c01ffd);
}
.shadow-511ffd {
box-shadow: 0 8px 24px rgb(81 31 253 / 0.35);
}
Han Purple
#511ffd rgb(81, 31, 253) hsl(254, 98%, 56%) Han Purple
#cbfd1f rgb(203, 253, 31) hsl(74, 98%, 56%) Electric Lime
#fd511f rgb(253, 81, 31) hsl(14, 98%, 56%) Orange Red
#1ffd51 rgb(31, 253, 81) hsl(134, 98%, 56%) Lime