#b040c2 ≈ Purpureus
#b040c2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 69.02% red, 25.1% green and 76.08% blue; printed in CMYK it uses 9.28% cyan, 67.01% magenta, 0% yellow and 23.92% black. Its hue angle is 291.69°, with 51.59% saturation and 50.59% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 4.82:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 4.83.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1679 |
Shades
#b040c2 mixed progressively with black.
Tints
#b040c2 mixed progressively with white.
Tones
#b040c2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b040c2 {
color: #b040c2;
}
.bg-b040c2 {
background-color: #b040c2;
color: #ffffff;
}
.border-b040c2 {
border: 2px solid #b040c2;
}
:root {
--color-primary: #b040c2;
--color-primary-rgb: 176 64 194;
--color-primary-hsl: 292 52% 51%;
}
.gradient-b040c2 {
background: linear-gradient(135deg, #b040c2, #c24093);
}
.shadow-b040c2 {
box-shadow: 0 8px 24px rgb(176 64 194 / 0.35);
}
Purpureus
#b040c2 rgb(176, 64, 194) hsl(292, 52%, 51%) Purpureus
#52c240 rgb(82, 194, 64) hsl(112, 52%, 51%) Lime Green
#c2b040 rgb(194, 176, 64) hsl(52, 52%, 51%) Vegas Gold
#40c2b0 rgb(64, 194, 176) hsl(172, 52%, 51%) Tiffany Blue