#512fd2 ≈ Han Purple
#512fd2 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 82.35% blue; printed in CMYK it uses 61.43% cyan, 77.62% magenta, 0% yellow and 17.65% black. Its hue angle is 252.52°, with 64.43% saturation and 50.39% 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.82:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.72.
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.0844 |
Shades
#512fd2 mixed progressively with black.
Tints
#512fd2 mixed progressively with white.
Tones
#512fd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512fd2 {
color: #512fd2;
}
.bg-512fd2 {
background-color: #512fd2;
color: #ffffff;
}
.border-512fd2 {
border: 2px solid #512fd2;
}
:root {
--color-primary: #512fd2;
--color-primary-rgb: 81 47 210;
--color-primary-hsl: 253 64% 50%;
}
.gradient-512fd2 {
background: linear-gradient(135deg, #512fd2, #a32fd2);
}
.shadow-512fd2 {
box-shadow: 0 8px 24px rgb(81 47 210 / 0.35);
}
Han Purple
#512fd2 rgb(81, 47, 210) hsl(253, 64%, 50%) Han Purple
#b0d22f rgb(176, 210, 47) hsl(73, 64%, 50%) June Bud
#d2512f rgb(210, 81, 47) hsl(13, 64%, 50%) Cinnabar
#2fd251 rgb(47, 210, 81) hsl(133, 64%, 50%) Malachite