#5d02e2 ≈ Han Purple
#5d02e2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.47% red, 0.78% green and 88.63% blue; printed in CMYK it uses 58.85% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 264.38°, with 98.25% saturation and 44.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 8.16:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.51.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0786 |
Shades
#5d02e2 mixed progressively with black.
Tints
#5d02e2 mixed progressively with white.
Tones
#5d02e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5d02e2 {
color: #5d02e2;
}
.bg-5d02e2 {
background-color: #5d02e2;
color: #ffffff;
}
.border-5d02e2 {
border: 2px solid #5d02e2;
}
:root {
--color-primary: #5d02e2;
--color-primary-rgb: 93 2 226;
--color-primary-hsl: 264 98% 45%;
}
.gradient-5d02e2 {
background: linear-gradient(135deg, #5d02e2, #cd02e2);
}
.shadow-5d02e2 {
box-shadow: 0 8px 24px rgb(93 2 226 / 0.35);
}
Han Purple
#5d02e2 rgb(93, 2, 226) hsl(264, 98%, 45%) Han Purple
#87e202 rgb(135, 226, 2) hsl(84, 98%, 45%) Lawn Green
#e25d02 rgb(226, 93, 2) hsl(24, 98%, 45%) Persimmon
#02e25d rgb(2, 226, 93) hsl(144, 98%, 45%) Malachite