#5f17fa ≈ Han Purple
#5f17fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 9.02% green and 98.04% blue; printed in CMYK it uses 62% cyan, 90.8% magenta, 0% yellow and 1.96% black. Its hue angle is 259.03°, with 95.78% saturation and 53.53% 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. White text on this color reaches a contrast ratio of 7.02:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.3.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0995 |
Shades
#5f17fa mixed progressively with black.
Tints
#5f17fa mixed progressively with white.
Tones
#5f17fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f17fa {
color: #5f17fa;
}
.bg-5f17fa {
background-color: #5f17fa;
color: #ffffff;
}
.border-5f17fa {
border: 2px solid #5f17fa;
}
:root {
--color-primary: #5f17fa;
--color-primary-rgb: 95 23 250;
--color-primary-hsl: 259 96% 54%;
}
.gradient-5f17fa {
background: linear-gradient(135deg, #5f17fa, #d017fa);
}
.shadow-5f17fa {
box-shadow: 0 8px 24px rgb(95 23 250 / 0.35);
}
Han Purple
#5f17fa rgb(95, 23, 250) hsl(259, 96%, 54%) Han Purple
#b2fa17 rgb(178, 250, 23) hsl(79, 96%, 54%) Spring Bud
#fa5f17 rgb(250, 95, 23) hsl(19, 96%, 54%) International Orange
#17fa5f rgb(23, 250, 95) hsl(139, 96%, 54%) Spring Green