#5212e9 ≈ Han Purple
#5212e9 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 7.06% green and 91.37% blue; printed in CMYK it uses 64.81% cyan, 92.27% magenta, 0% yellow and 8.63% black. Its hue angle is 257.86°, with 85.66% saturation and 49.22% 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 8.01:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.34.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0811 |
Shades
#5212e9 mixed progressively with black.
Tints
#5212e9 mixed progressively with white.
Tones
#5212e9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5212e9 {
color: #5212e9;
}
.bg-5212e9 {
background-color: #5212e9;
color: #ffffff;
}
.border-5212e9 {
border: 2px solid #5212e9;
}
:root {
--color-primary: #5212e9;
--color-primary-rgb: 82 18 233;
--color-primary-hsl: 258 86% 49%;
}
.gradient-5212e9 {
background: linear-gradient(135deg, #5212e9, #be12e9);
}
.shadow-5212e9 {
box-shadow: 0 8px 24px rgb(82 18 233 / 0.35);
}
Han Purple
#5212e9 rgb(82, 18, 233) hsl(258, 86%, 49%) Han Purple
#a9e912 rgb(169, 233, 18) hsl(78, 86%, 49%) Spring Bud
#e95212 rgb(233, 82, 18) hsl(18, 86%, 49%) Flame
#12e952 rgb(18, 233, 82) hsl(138, 86%, 49%) Malachite