#520ef2 ≈ Han Purple
#520ef2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 5.49% green and 94.9% blue; printed in CMYK it uses 66.12% cyan, 94.21% magenta, 0% yellow and 5.1% black. Its hue angle is 257.89°, with 89.76% saturation and 50.2% 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.77:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.48.
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.0852 |
Shades
#520ef2 mixed progressively with black.
Tints
#520ef2 mixed progressively with white.
Tones
#520ef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-520ef2 {
color: #520ef2;
}
.bg-520ef2 {
background-color: #520ef2;
color: #ffffff;
}
.border-520ef2 {
border: 2px solid #520ef2;
}
:root {
--color-primary: #520ef2;
--color-primary-rgb: 82 14 242;
--color-primary-hsl: 258 90% 50%;
}
.gradient-520ef2 {
background: linear-gradient(135deg, #520ef2, #c40ef2);
}
.shadow-520ef2 {
box-shadow: 0 8px 24px rgb(82 14 242 / 0.35);
}
Han Purple
#520ef2 rgb(82, 14, 242) hsl(258, 90%, 50%) Han Purple
#aef20e rgb(174, 242, 14) hsl(78, 90%, 50%) Spring Bud
#f2520e rgb(242, 82, 14) hsl(18, 90%, 50%) Tangelo
#0ef252 rgb(14, 242, 82) hsl(138, 90%, 50%) Spring Green