#ab40b2 ≈ Purpureus
#ab40b2 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 25.1% green and 69.8% blue; printed in CMYK it uses 3.93% cyan, 64.04% magenta, 0% yellow and 30.2% black. Its hue angle is 296.32°, with 47.11% saturation and 47.45% 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 5.11:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 3.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1554 |
Shades
#ab40b2 mixed progressively with black.
Tints
#ab40b2 mixed progressively with white.
Tones
#ab40b2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab40b2 {
color: #ab40b2;
}
.bg-ab40b2 {
background-color: #ab40b2;
color: #ffffff;
}
.border-ab40b2 {
border: 2px solid #ab40b2;
}
:root {
--color-primary: #ab40b2;
--color-primary-rgb: 171 64 178;
--color-primary-hsl: 296 47% 47%;
}
.gradient-ab40b2 {
background: linear-gradient(135deg, #ab40b2, #b24080);
}
.shadow-ab40b2 {
box-shadow: 0 8px 24px rgb(171 64 178 / 0.35);
}
Purpureus
#ab40b2 rgb(171, 64, 178) hsl(296, 47%, 47%) Purpureus
#47b240 rgb(71, 178, 64) hsl(116, 47%, 47%) Kelly Green
#b2ab40 rgb(178, 171, 64) hsl(56, 47%, 47%) Brass
#40b2ab rgb(64, 178, 171) hsl(176, 47%, 47%) Verdigris