#af72fa ≈ Medium Purple
#af72fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 68.63% red, 44.71% green and 98.04% blue; printed in CMYK it uses 30% cyan, 54.4% magenta, 0% yellow and 1.96% black. Its hue angle is 266.91°, with 93.15% saturation and 71.37% 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. Black text on this color reaches a contrast ratio of 6.61:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2805 |
Shades
#af72fa mixed progressively with black.
Tints
#af72fa mixed progressively with white.
Tones
#af72fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af72fa {
color: #af72fa;
}
.bg-af72fa {
background-color: #af72fa;
color: #000000;
}
.border-af72fa {
border: 2px solid #af72fa;
}
:root {
--color-primary: #af72fa;
--color-primary-rgb: 175 114 250;
--color-primary-hsl: 267 93% 71%;
}
.gradient-af72fa {
background: linear-gradient(135deg, #af72fa, #f372fa);
}
.shadow-af72fa {
box-shadow: 0 8px 24px rgb(175 114 250 / 0.35);
}
Medium Purple
#af72fa rgb(175, 114, 250) hsl(267, 93%, 71%) Medium Purple
#bdfa72 rgb(189, 250, 114) hsl(87, 93%, 71%) Inchworm
#faaf72 rgb(250, 175, 114) hsl(27, 93%, 71%) Sandy Brown
#72faaf rgb(114, 250, 175) hsl(147, 93%, 71%) Medium Spring Green