#5229fa ≈ Han Purple
#5229fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 16.08% green and 98.04% blue; printed in CMYK it uses 67.2% cyan, 83.6% magenta, 0% yellow and 1.96% black. Its hue angle is 251.77°, with 95.43% saturation and 57.06% 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.87:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 1.91.
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.1028 |
Shades
#5229fa mixed progressively with black.
Tints
#5229fa mixed progressively with white.
Tones
#5229fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5229fa {
color: #5229fa;
}
.bg-5229fa {
background-color: #5229fa;
color: #ffffff;
}
.border-5229fa {
border: 2px solid #5229fa;
}
:root {
--color-primary: #5229fa;
--color-primary-rgb: 82 41 250;
--color-primary-hsl: 252 95% 57%;
}
.gradient-5229fa {
background: linear-gradient(135deg, #5229fa, #ba29fa);
}
.shadow-5229fa {
box-shadow: 0 8px 24px rgb(82 41 250 / 0.35);
}
Han Purple
#5229fa rgb(82, 41, 250) hsl(252, 95%, 57%) Han Purple
#d1fa29 rgb(209, 250, 41) hsl(72, 95%, 57%) Electric Lime
#fa5229 rgb(250, 82, 41) hsl(12, 95%, 57%) Orange Red
#29fa52 rgb(41, 250, 82) hsl(132, 95%, 57%) Lime