#520ff2 ≈ Han Purple
#520ff2 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.88% green and 94.9% blue; printed in CMYK it uses 66.12% cyan, 93.8% magenta, 0% yellow and 5.1% black. Its hue angle is 257.71°, with 89.72% saturation and 50.39% 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.75:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.43.
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.0855 |
Shades
#520ff2 mixed progressively with black.
Tints
#520ff2 mixed progressively with white.
Tones
#520ff2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-520ff2 {
color: #520ff2;
}
.bg-520ff2 {
background-color: #520ff2;
color: #ffffff;
}
.border-520ff2 {
border: 2px solid #520ff2;
}
:root {
--color-primary: #520ff2;
--color-primary-rgb: 82 15 242;
--color-primary-hsl: 258 90% 50%;
}
.gradient-520ff2 {
background: linear-gradient(135deg, #520ff2, #c30ff2);
}
.shadow-520ff2 {
box-shadow: 0 8px 24px rgb(82 15 242 / 0.35);
}
Han Purple
#520ff2 rgb(82, 15, 242) hsl(258, 90%, 50%) Han Purple
#aff20f rgb(175, 242, 15) hsl(78, 90%, 50%) Spring Bud
#f2520f rgb(242, 82, 15) hsl(18, 90%, 50%) Tangelo
#0ff252 rgb(15, 242, 82) hsl(138, 90%, 50%) Spring Green