#5a2fed ≈ Han Purple
#5a2fed is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 18.43% green and 92.94% blue; printed in CMYK it uses 62.03% cyan, 80.17% magenta, 0% yellow and 7.06% black. Its hue angle is 253.58°, with 84.07% saturation and 55.69% 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.85:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.75.
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.1032 |
Shades
#5a2fed mixed progressively with black.
Tints
#5a2fed mixed progressively with white.
Tones
#5a2fed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a2fed {
color: #5a2fed;
}
.bg-5a2fed {
background-color: #5a2fed;
color: #ffffff;
}
.border-5a2fed {
border: 2px solid #5a2fed;
}
:root {
--color-primary: #5a2fed;
--color-primary-rgb: 90 47 237;
--color-primary-hsl: 254 84% 56%;
}
.gradient-5a2fed {
background: linear-gradient(135deg, #5a2fed, #b92fed);
}
.shadow-5a2fed {
box-shadow: 0 8px 24px rgb(90 47 237 / 0.35);
}
Han Purple
#5a2fed rgb(90, 47, 237) hsl(254, 84%, 56%) Han Purple
#c2ed2f rgb(194, 237, 47) hsl(74, 84%, 56%) Electric Lime
#ed5a2f rgb(237, 90, 47) hsl(14, 84%, 56%) Flame
#2fed5a rgb(47, 237, 90) hsl(134, 84%, 56%) Malachite