#a170df ≈ Medium Purple
#a170df is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 63.14% red, 43.92% green and 87.45% blue; printed in CMYK it uses 27.8% cyan, 49.78% magenta, 0% yellow and 12.55% black. Its hue angle is 266.49°, with 63.43% saturation and 65.69% 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 brand accents. Black text on this color reaches a contrast ratio of 5.9:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 2.82.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2449 |
Shades
#a170df mixed progressively with black.
Tints
#a170df mixed progressively with white.
Tones
#a170df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a170df {
color: #a170df;
}
.bg-a170df {
background-color: #a170df;
color: #000000;
}
.border-a170df {
border: 2px solid #a170df;
}
:root {
--color-primary: #a170df;
--color-primary-rgb: 161 112 223;
--color-primary-hsl: 266 63% 66%;
}
.gradient-a170df {
background: linear-gradient(135deg, #a170df, #d970df);
}
.shadow-a170df {
box-shadow: 0 8px 24px rgb(161 112 223 / 0.35);
}
Medium Purple
#a170df rgb(161, 112, 223) hsl(266, 63%, 66%) Medium Purple
#aedf70 rgb(174, 223, 112) hsl(86, 63%, 66%) Inchworm
#dfa170 rgb(223, 161, 112) hsl(26, 63%, 66%) Fawn
#70dfa1 rgb(112, 223, 161) hsl(146, 63%, 66%) Emerald