#af42bb ≈ Purpureus
#af42bb is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 25.88% green and 73.33% blue; printed in CMYK it uses 6.42% cyan, 64.71% magenta, 0% yellow and 26.67% black. Its hue angle is 294.05°, with 47.83% saturation and 49.61% 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.86:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 4.21.
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.166 |
Shades
#af42bb mixed progressively with black.
Tints
#af42bb mixed progressively with white.
Tones
#af42bb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af42bb {
color: #af42bb;
}
.bg-af42bb {
background-color: #af42bb;
color: #ffffff;
}
.border-af42bb {
border: 2px solid #af42bb;
}
:root {
--color-primary: #af42bb;
--color-primary-rgb: 175 66 187;
--color-primary-hsl: 294 48% 50%;
}
.gradient-af42bb {
background: linear-gradient(135deg, #af42bb, #bb428b);
}
.shadow-af42bb {
box-shadow: 0 8px 24px rgb(175 66 187 / 0.35);
}
Purpureus
#af42bb rgb(175, 66, 187) hsl(294, 48%, 50%) Purpureus
#4ebb42 rgb(78, 187, 66) hsl(114, 48%, 50%) Kelly Green
#bbaf42 rgb(187, 175, 66) hsl(54, 48%, 50%) Brass
#42bbaf rgb(66, 187, 175) hsl(174, 48%, 50%) Tiffany Blue