#512fcf ≈ Han Purple
#512fcf is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 18.43% green and 81.18% blue; printed in CMYK it uses 60.87% cyan, 77.29% magenta, 0% yellow and 18.82% black. Its hue angle is 252.75°, with 62.99% saturation and 49.8% 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.9:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.05.
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.0829 |
Shades
#512fcf mixed progressively with black.
Tints
#512fcf mixed progressively with white.
Tones
#512fcf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512fcf {
color: #512fcf;
}
.bg-512fcf {
background-color: #512fcf;
color: #ffffff;
}
.border-512fcf {
border: 2px solid #512fcf;
}
:root {
--color-primary: #512fcf;
--color-primary-rgb: 81 47 207;
--color-primary-hsl: 253 63% 50%;
}
.gradient-512fcf {
background: linear-gradient(135deg, #512fcf, #a12fcf);
}
.shadow-512fcf {
box-shadow: 0 8px 24px rgb(81 47 207 / 0.35);
}
Han Purple
#512fcf rgb(81, 47, 207) hsl(253, 63%, 50%) Han Purple
#adcf2f rgb(173, 207, 47) hsl(73, 63%, 50%) Yellow Green
#cf512f rgb(207, 81, 47) hsl(13, 63%, 50%) Sinopia
#2fcf51 rgb(47, 207, 81) hsl(133, 63%, 50%) Malachite