#5a08ec ≈ Han Purple
#5a08ec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.29% red, 3.14% green and 92.55% blue; printed in CMYK it uses 61.86% cyan, 96.61% magenta, 0% yellow and 7.45% black. Its hue angle is 261.58°, with 93.44% saturation and 47.84% 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.83:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.084 |
Shades
#5a08ec mixed progressively with black.
Tints
#5a08ec mixed progressively with white.
Tones
#5a08ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a08ec {
color: #5a08ec;
}
.bg-5a08ec {
background-color: #5a08ec;
color: #ffffff;
}
.border-5a08ec {
border: 2px solid #5a08ec;
}
:root {
--color-primary: #5a08ec;
--color-primary-rgb: 90 8 236;
--color-primary-hsl: 262 93% 48%;
}
.gradient-5a08ec {
background: linear-gradient(135deg, #5a08ec, #cc08ec);
}
.shadow-5a08ec {
box-shadow: 0 8px 24px rgb(90 8 236 / 0.35);
}
Han Purple
#5a08ec rgb(90, 8, 236) hsl(262, 93%, 48%) Han Purple
#9aec08 rgb(154, 236, 8) hsl(82, 93%, 48%) Spring Bud
#ec5a08 rgb(236, 90, 8) hsl(22, 93%, 48%) Persimmon
#08ec5a rgb(8, 236, 90) hsl(142, 93%, 48%) Malachite