#af70fe ≈ Medium Purple
#af70fe 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 99.61% blue; printed in CMYK it uses 31.1% cyan, 55.91% magenta, 0% yellow and 0.39% black. Its hue angle is 266.62°, with 98.61% saturation and 71.76% 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.57:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.54.
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.2786 |
Shades
#af70fe mixed progressively with black.
Tints
#af70fe mixed progressively with white.
Tones
#af70fe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af70fe {
color: #af70fe;
}
.bg-af70fe {
background-color: #af70fe;
color: #000000;
}
.border-af70fe {
border: 2px solid #af70fe;
}
:root {
--color-primary: #af70fe;
--color-primary-rgb: 175 112 254;
--color-primary-hsl: 267 99% 72%;
}
.gradient-af70fe {
background: linear-gradient(135deg, #af70fe, #f670fe);
}
.shadow-af70fe {
box-shadow: 0 8px 24px rgb(175 112 254 / 0.35);
}
Medium Purple
#af70fe rgb(175, 112, 254) hsl(267, 99%, 72%) Medium Purple
#bffe70 rgb(191, 254, 112) hsl(87, 99%, 72%) Inchworm
#feaf70 rgb(254, 175, 112) hsl(27, 99%, 72%) Sandy Brown
#70feaf rgb(112, 254, 175) hsl(147, 99%, 72%) Medium Spring Green