#5f2ece ≈ Han Purple
#5f2ece is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 18.04% green and 80.78% blue; printed in CMYK it uses 53.88% cyan, 77.67% magenta, 0% yellow and 19.22% black. Its hue angle is 258.38°, with 63.49% saturation and 49.41% 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 brand accents. White text on this color reaches a contrast ratio of 7.58:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0884 |
Shades
#5f2ece mixed progressively with black.
Tints
#5f2ece mixed progressively with white.
Tones
#5f2ece mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f2ece {
color: #5f2ece;
}
.bg-5f2ece {
background-color: #5f2ece;
color: #ffffff;
}
.border-5f2ece {
border: 2px solid #5f2ece;
}
:root {
--color-primary: #5f2ece;
--color-primary-rgb: 95 46 206;
--color-primary-hsl: 258 63% 49%;
}
.gradient-5f2ece {
background: linear-gradient(135deg, #5f2ece, #af2ece);
}
.shadow-5f2ece {
box-shadow: 0 8px 24px rgb(95 46 206 / 0.35);
}
Han Purple
#5f2ece rgb(95, 46, 206) hsl(258, 63%, 49%) Han Purple
#9dce2e rgb(157, 206, 46) hsl(78, 63%, 49%) Yellow Green
#ce5f2e rgb(206, 95, 46) hsl(18, 63%, 49%) Flame
#2ece5f rgb(46, 206, 95) hsl(138, 63%, 49%) Malachite