#5f12df ≈ Han Purple
#5f12df 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 87.45% blue; printed in CMYK it uses 57.4% cyan, 91.93% magenta, 0% yellow and 12.55% black. Its hue angle is 262.54°, with 85.06% saturation and 47.25% 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.96:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.37.
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.0819 |
Shades
#5f12df mixed progressively with black.
Tints
#5f12df mixed progressively with white.
Tones
#5f12df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f12df {
color: #5f12df;
}
.bg-5f12df {
background-color: #5f12df;
color: #ffffff;
}
.border-5f12df {
border: 2px solid #5f12df;
}
:root {
--color-primary: #5f12df;
--color-primary-rgb: 95 18 223;
--color-primary-hsl: 263 85% 47%;
}
.gradient-5f12df {
background: linear-gradient(135deg, #5f12df, #c512df);
}
.shadow-5f12df {
box-shadow: 0 8px 24px rgb(95 18 223 / 0.35);
}
Han Purple
#5f12df rgb(95, 18, 223) hsl(263, 85%, 47%) Han Purple
#92df12 rgb(146, 223, 18) hsl(83, 85%, 47%) Yellow Green
#df5f12 rgb(223, 95, 18) hsl(23, 85%, 47%) Persimmon
#12df5f rgb(18, 223, 95) hsl(143, 85%, 47%) Malachite