#af87bf ≈ Purple Mountain Majesty
#af87bf is a color from the magenta family, with high lightness and muted saturation. In the RGB model it is made of 68.63% red, 52.94% green and 74.9% blue; printed in CMYK it uses 8.38% cyan, 29.32% magenta, 0% yellow and 25.1% black. Its hue angle is 282.86°, with 30.43% saturation and 63.92% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 7.04:1 (WCAG AAA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9999cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.302 |
Shades
#af87bf mixed progressively with black.
Tints
#af87bf mixed progressively with white.
Tones
#af87bf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af87bf {
color: #af87bf;
}
.bg-af87bf {
background-color: #af87bf;
color: #000000;
}
.border-af87bf {
border: 2px solid #af87bf;
}
:root {
--color-primary: #af87bf;
--color-primary-rgb: 175 135 191;
--color-primary-hsl: 283 30% 64%;
}
.gradient-af87bf {
background: linear-gradient(135deg, #af87bf, #bf87b3);
}
.shadow-af87bf {
box-shadow: 0 8px 24px rgb(175 135 191 / 0.35);
}
Purple Mountain Majesty
#af87bf rgb(175, 135, 191) hsl(283, 30%, 64%) Purple Mountain Majesty
#97bf87 rgb(151, 191, 135) hsl(103, 30%, 64%) Dark Sea Green
#bfaf87 rgb(191, 175, 135) hsl(43, 30%, 64%) Ecru
#87bfaf rgb(135, 191, 175) hsl(163, 30%, 64%) Medium Aquamarine