#512eef ≈ Han Purple
#512eef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 18.04% green and 93.73% blue; printed in CMYK it uses 66.11% cyan, 80.75% magenta, 0% yellow and 6.27% black. Its hue angle is 250.88°, with 85.78% saturation and 55.88% 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.03:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.44.
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.0994 |
Shades
#512eef mixed progressively with black.
Tints
#512eef mixed progressively with white.
Tones
#512eef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512eef {
color: #512eef;
}
.bg-512eef {
background-color: #512eef;
color: #ffffff;
}
.border-512eef {
border: 2px solid #512eef;
}
:root {
--color-primary: #512eef;
--color-primary-rgb: 81 46 239;
--color-primary-hsl: 251 86% 56%;
}
.gradient-512eef {
background: linear-gradient(135deg, #512eef, #b12eef);
}
.shadow-512eef {
box-shadow: 0 8px 24px rgb(81 46 239 / 0.35);
}
Han Purple
#512eef rgb(81, 46, 239) hsl(251, 86%, 56%) Han Purple
#ccef2e rgb(204, 239, 46) hsl(71, 86%, 56%) Electric Lime
#ef512e rgb(239, 81, 46) hsl(11, 86%, 56%) Coquelicot
#2eef51 rgb(46, 239, 81) hsl(131, 86%, 56%) Malachite