#5222e1 ≈ Han Purple
#5222e1 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.16% red, 13.33% green and 88.24% blue; printed in CMYK it uses 63.56% cyan, 84.89% magenta, 0% yellow and 11.76% black. Its hue angle is 255.08°, with 76.1% saturation and 50.78% 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 brand accents. White text on this color reaches a contrast ratio of 7.85:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.76.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0837 |
Shades
#5222e1 mixed progressively with black.
Tints
#5222e1 mixed progressively with white.
Tones
#5222e1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5222e1 {
color: #5222e1;
}
.bg-5222e1 {
background-color: #5222e1;
color: #ffffff;
}
.border-5222e1 {
border: 2px solid #5222e1;
}
:root {
--color-primary: #5222e1;
--color-primary-rgb: 82 34 225;
--color-primary-hsl: 255 76% 51%;
}
.gradient-5222e1 {
background: linear-gradient(135deg, #5222e1, #b222e1);
}
.shadow-5222e1 {
box-shadow: 0 8px 24px rgb(82 34 225 / 0.35);
}
Han Purple
#5222e1 rgb(82, 34, 225) hsl(255, 76%, 51%) Han Purple
#b1e122 rgb(177, 225, 34) hsl(75, 76%, 51%) June Bud
#e15222 rgb(225, 82, 34) hsl(15, 76%, 51%) Flame
#22e152 rgb(34, 225, 82) hsl(135, 76%, 51%) Malachite