#512bfa ≈ Han Purple
#512bfa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 16.86% green and 98.04% blue; printed in CMYK it uses 67.6% cyan, 82.8% magenta, 0% yellow and 1.96% black. Its hue angle is 251.01°, with 95.39% saturation and 57.45% 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.83:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.17.
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.1038 |
Shades
#512bfa mixed progressively with black.
Tints
#512bfa mixed progressively with white.
Tones
#512bfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512bfa {
color: #512bfa;
}
.bg-512bfa {
background-color: #512bfa;
color: #ffffff;
}
.border-512bfa {
border: 2px solid #512bfa;
}
:root {
--color-primary: #512bfa;
--color-primary-rgb: 81 43 250;
--color-primary-hsl: 251 95% 57%;
}
.gradient-512bfa {
background: linear-gradient(135deg, #512bfa, #b82bfa);
}
.shadow-512bfa {
box-shadow: 0 8px 24px rgb(81 43 250 / 0.35);
}
Han Purple
#512bfa rgb(81, 43, 250) hsl(251, 95%, 57%) Han Purple
#d4fa2b rgb(212, 250, 43) hsl(71, 95%, 57%) Electric Lime
#fa512b rgb(250, 81, 43) hsl(11, 95%, 57%) Coquelicot
#2bfa51 rgb(43, 250, 81) hsl(131, 95%, 57%) Lime