#512dfd ≈ Han Purple
#512dfd 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.65% green and 99.22% blue; printed in CMYK it uses 67.98% cyan, 82.21% magenta, 0% yellow and 0.78% black. Its hue angle is 250.38°, with 98.11% saturation and 58.43% 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 6.68:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.64.
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.1072 |
Shades
#512dfd mixed progressively with black.
Tints
#512dfd mixed progressively with white.
Tones
#512dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512dfd {
color: #512dfd;
}
.bg-512dfd {
background-color: #512dfd;
color: #ffffff;
}
.border-512dfd {
border: 2px solid #512dfd;
}
:root {
--color-primary: #512dfd;
--color-primary-rgb: 81 45 253;
--color-primary-hsl: 250 98% 58%;
}
.gradient-512dfd {
background: linear-gradient(135deg, #512dfd, #b92dfd);
}
.shadow-512dfd {
box-shadow: 0 8px 24px rgb(81 45 253 / 0.35);
}
Han Purple
#512dfd rgb(81, 45, 253) hsl(250, 98%, 58%) Han Purple
#d9fd2d rgb(217, 253, 45) hsl(70, 98%, 58%) Chartreuse Yellow
#fd512d rgb(253, 81, 45) hsl(10, 98%, 58%) Tomato
#2dfd51 rgb(45, 253, 81) hsl(130, 98%, 58%) Lime