#5f0cda ≈ Han Purple
#5f0cda is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 4.71% green and 85.49% blue; printed in CMYK it uses 56.42% cyan, 94.5% magenta, 0% yellow and 14.51% black. Its hue angle is 264.17°, with 89.57% saturation and 45.1% 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.23:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.16.
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.0776 |
Shades
#5f0cda mixed progressively with black.
Tints
#5f0cda mixed progressively with white.
Tones
#5f0cda mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f0cda {
color: #5f0cda;
}
.bg-5f0cda {
background-color: #5f0cda;
color: #ffffff;
}
.border-5f0cda {
border: 2px solid #5f0cda;
}
:root {
--color-primary: #5f0cda;
--color-primary-rgb: 95 12 218;
--color-primary-hsl: 264 90% 45%;
}
.gradient-5f0cda {
background: linear-gradient(135deg, #5f0cda, #c60cda);
}
.shadow-5f0cda {
box-shadow: 0 8px 24px rgb(95 12 218 / 0.35);
}
Han Purple
#5f0cda rgb(95, 12, 218) hsl(264, 90%, 45%) Han Purple
#87da0c rgb(135, 218, 12) hsl(84, 90%, 45%) Yellow Green
#da5f0c rgb(218, 95, 12) hsl(24, 90%, 45%) Chocolate
#0cda5f rgb(12, 218, 95) hsl(144, 90%, 45%) Malachite