#ab5dfd ≈ Medium Purple
#ab5dfd is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 67.06% red, 36.47% green and 99.22% blue; printed in CMYK it uses 32.41% cyan, 63.24% magenta, 0% yellow and 0.78% black. Its hue angle is 269.25°, with 97.56% saturation and 67.84% 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.72:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 7.16.
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.2358 |
Shades
#ab5dfd mixed progressively with black.
Tints
#ab5dfd mixed progressively with white.
Tones
#ab5dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab5dfd {
color: #ab5dfd;
}
.bg-ab5dfd {
background-color: #ab5dfd;
color: #000000;
}
.border-ab5dfd {
border: 2px solid #ab5dfd;
}
:root {
--color-primary: #ab5dfd;
--color-primary-rgb: 171 93 253;
--color-primary-hsl: 269 98% 68%;
}
.gradient-ab5dfd {
background: linear-gradient(135deg, #ab5dfd, #fb5dfd);
}
.shadow-ab5dfd {
box-shadow: 0 8px 24px rgb(171 93 253 / 0.35);
}
Medium Purple
#ab5dfd rgb(171, 93, 253) hsl(269, 98%, 68%) Medium Purple
#affd5d rgb(175, 253, 93) hsl(89, 98%, 68%) Green Yellow
#fdab5d rgb(253, 171, 93) hsl(29, 98%, 68%) Sandy Brown
#5dfdab rgb(93, 253, 171) hsl(149, 98%, 68%) Medium Spring Green