#ab5ffd ≈ Medium Purple
#ab5ffd is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 67.06% red, 37.25% green and 99.22% blue; printed in CMYK it uses 32.41% cyan, 62.45% magenta, 0% yellow and 0.78% black. Its hue angle is 268.86°, with 97.53% saturation and 68.24% 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 5.79:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.95.
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.2393 |
Shades
#ab5ffd mixed progressively with black.
Tints
#ab5ffd mixed progressively with white.
Tones
#ab5ffd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab5ffd {
color: #ab5ffd;
}
.bg-ab5ffd {
background-color: #ab5ffd;
color: #000000;
}
.border-ab5ffd {
border: 2px solid #ab5ffd;
}
:root {
--color-primary: #ab5ffd;
--color-primary-rgb: 171 95 253;
--color-primary-hsl: 269 98% 68%;
}
.gradient-ab5ffd {
background: linear-gradient(135deg, #ab5ffd, #fa5ffd);
}
.shadow-ab5ffd {
box-shadow: 0 8px 24px rgb(171 95 253 / 0.35);
}
Medium Purple
#ab5ffd rgb(171, 95, 253) hsl(269, 98%, 68%) Medium Purple
#b1fd5f rgb(177, 253, 95) hsl(89, 98%, 68%) Green Yellow
#fdab5f rgb(253, 171, 95) hsl(29, 98%, 68%) Sandy Brown
#5ffdab rgb(95, 253, 171) hsl(149, 98%, 68%) Medium Spring Green