#5f12db ≈ Han Purple
#5f12db is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 7.06% green and 85.88% blue; printed in CMYK it uses 56.62% cyan, 91.78% magenta, 0% yellow and 14.12% black. Its hue angle is 262.99°, with 84.81% saturation and 46.47% 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.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.85.
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.0798 |
Shades
#5f12db mixed progressively with black.
Tints
#5f12db mixed progressively with white.
Tones
#5f12db mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f12db {
color: #5f12db;
}
.bg-5f12db {
background-color: #5f12db;
color: #ffffff;
}
.border-5f12db {
border: 2px solid #5f12db;
}
:root {
--color-primary: #5f12db;
--color-primary-rgb: 95 18 219;
--color-primary-hsl: 263 85% 46%;
}
.gradient-5f12db {
background: linear-gradient(135deg, #5f12db, #c412db);
}
.shadow-5f12db {
box-shadow: 0 8px 24px rgb(95 18 219 / 0.35);
}
Han Purple
#5f12db rgb(95, 18, 219) hsl(263, 85%, 46%) Han Purple
#8edb12 rgb(142, 219, 18) hsl(83, 85%, 46%) Yellow Green
#db5f12 rgb(219, 95, 18) hsl(23, 85%, 46%) Persimmon
#12db5f rgb(18, 219, 95) hsl(143, 85%, 46%) Malachite