#511afa ≈ Han Purple
#511afa 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.2% green and 98.04% blue; printed in CMYK it uses 67.6% cyan, 89.6% magenta, 0% yellow and 1.96% black. Its hue angle is 254.73°, with 95.73% saturation and 54.12% 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.3:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.18.
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.0939 |
Shades
#511afa mixed progressively with black.
Tints
#511afa mixed progressively with white.
Tones
#511afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511afa {
color: #511afa;
}
.bg-511afa {
background-color: #511afa;
color: #ffffff;
}
.border-511afa {
border: 2px solid #511afa;
}
:root {
--color-primary: #511afa;
--color-primary-rgb: 81 26 250;
--color-primary-hsl: 255 96% 54%;
}
.gradient-511afa {
background: linear-gradient(135deg, #511afa, #c11afa);
}
.shadow-511afa {
box-shadow: 0 8px 24px rgb(81 26 250 / 0.35);
}
Han Purple
#511afa rgb(81, 26, 250) hsl(255, 96%, 54%) Han Purple
#c3fa1a rgb(195, 250, 26) hsl(75, 96%, 54%) Electric Lime
#fa511a rgb(250, 81, 26) hsl(15, 96%, 54%) Orange Red
#1afa51 rgb(26, 250, 81) hsl(135, 96%, 54%) Lime