#5a2aed ≈ Han Purple
#5a2aed is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.29% red, 16.47% green and 92.94% blue; printed in CMYK it uses 62.03% cyan, 82.28% magenta, 0% yellow and 7.06% black. Its hue angle is 254.77°, with 84.42% saturation and 54.71% 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.03:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.14.
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.0994 |
Shades
#5a2aed mixed progressively with black.
Tints
#5a2aed mixed progressively with white.
Tones
#5a2aed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a2aed {
color: #5a2aed;
}
.bg-5a2aed {
background-color: #5a2aed;
color: #ffffff;
}
.border-5a2aed {
border: 2px solid #5a2aed;
}
:root {
--color-primary: #5a2aed;
--color-primary-rgb: 90 42 237;
--color-primary-hsl: 255 84% 55%;
}
.gradient-5a2aed {
background: linear-gradient(135deg, #5a2aed, #bc2aed);
}
.shadow-5a2aed {
box-shadow: 0 8px 24px rgb(90 42 237 / 0.35);
}
Han Purple
#5a2aed rgb(90, 42, 237) hsl(255, 84%, 55%) Han Purple
#bded2a rgb(189, 237, 42) hsl(75, 84%, 55%) Electric Lime
#ed5a2a rgb(237, 90, 42) hsl(15, 84%, 55%) Flame
#2aed5a rgb(42, 237, 90) hsl(135, 84%, 55%) Malachite