#512cee ≈ Han Purple
#512cee is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 17.25% green and 93.33% blue; printed in CMYK it uses 65.97% cyan, 81.51% magenta, 0% yellow and 6.67% black. Its hue angle is 251.44°, with 85.09% saturation and 55.29% 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.13:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0972 |
Shades
#512cee mixed progressively with black.
Tints
#512cee mixed progressively with white.
Tones
#512cee mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512cee {
color: #512cee;
}
.bg-512cee {
background-color: #512cee;
color: #ffffff;
}
.border-512cee {
border: 2px solid #512cee;
}
:root {
--color-primary: #512cee;
--color-primary-rgb: 81 44 238;
--color-primary-hsl: 251 85% 55%;
}
.gradient-512cee {
background: linear-gradient(135deg, #512cee, #b22cee);
}
.shadow-512cee {
box-shadow: 0 8px 24px rgb(81 44 238 / 0.35);
}
Han Purple
#512cee rgb(81, 44, 238) hsl(251, 85%, 55%) Han Purple
#c9ee2c rgb(201, 238, 44) hsl(71, 85%, 55%) Electric Lime
#ee512c rgb(238, 81, 44) hsl(11, 85%, 55%) Flame
#2cee51 rgb(44, 238, 81) hsl(131, 85%, 55%) Malachite