#522dfe ≈ Han Purple
#522dfe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 17.65% green and 99.61% blue; printed in CMYK it uses 67.72% cyan, 82.28% magenta, 0% yellow and 0.39% black. Its hue angle is 250.62°, with 99.05% saturation and 58.63% 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 6.63:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.72.
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.1083 |
Shades
#522dfe mixed progressively with black.
Tints
#522dfe mixed progressively with white.
Tones
#522dfe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-522dfe {
color: #522dfe;
}
.bg-522dfe {
background-color: #522dfe;
color: #ffffff;
}
.border-522dfe {
border: 2px solid #522dfe;
}
:root {
--color-primary: #522dfe;
--color-primary-rgb: 82 45 254;
--color-primary-hsl: 251 99% 59%;
}
.gradient-522dfe {
background: linear-gradient(135deg, #522dfe, #ba2dfe);
}
.shadow-522dfe {
box-shadow: 0 8px 24px rgb(82 45 254 / 0.35);
}
Han Purple
#522dfe rgb(82, 45, 254) hsl(251, 99%, 59%) Han Purple
#d9fe2d rgb(217, 254, 45) hsl(71, 99%, 59%) Chartreuse Yellow
#fe522d rgb(254, 82, 45) hsl(11, 99%, 59%) Tomato
#2dfe52 rgb(45, 254, 82) hsl(131, 99%, 59%) Lime