#af70ff ≈ Medium Purple
#af70ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 68.63% red, 43.92% green and 100% blue; printed in CMYK it uses 31.37% cyan, 56.08% magenta, 0% yellow and 0% black. Its hue angle is 266.43°, with 100% saturation and 71.96% 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.58:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.63.
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.2792 |
Shades
#af70ff mixed progressively with black.
Tints
#af70ff mixed progressively with white.
Tones
#af70ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af70ff {
color: #af70ff;
}
.bg-af70ff {
background-color: #af70ff;
color: #000000;
}
.border-af70ff {
border: 2px solid #af70ff;
}
:root {
--color-primary: #af70ff;
--color-primary-rgb: 175 112 255;
--color-primary-hsl: 266 100% 72%;
}
.gradient-af70ff {
background: linear-gradient(135deg, #af70ff, #f670ff);
}
.shadow-af70ff {
box-shadow: 0 8px 24px rgb(175 112 255 / 0.35);
}
Medium Purple
#af70ff rgb(175, 112, 255) hsl(266, 100%, 72%) Medium Purple
#c0ff70 rgb(192, 255, 112) hsl(86, 100%, 72%) Inchworm
#ffaf70 rgb(255, 175, 112) hsl(26, 100%, 72%) Sandy Brown
#70ffaf rgb(112, 255, 175) hsl(146, 100%, 72%) Medium Spring Green