#5f1efd ≈ Han Purple
#5f1efd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 11.76% green and 99.22% blue; printed in CMYK it uses 62.45% cyan, 88.14% magenta, 0% yellow and 0.78% black. Its hue angle is 257.49°, with 98.24% saturation and 55.49% 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 6.79:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 1.79.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1045 |
Shades
#5f1efd mixed progressively with black.
Tints
#5f1efd mixed progressively with white.
Tones
#5f1efd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f1efd {
color: #5f1efd;
}
.bg-5f1efd {
background-color: #5f1efd;
color: #ffffff;
}
.border-5f1efd {
border: 2px solid #5f1efd;
}
:root {
--color-primary: #5f1efd;
--color-primary-rgb: 95 30 253;
--color-primary-hsl: 257 98% 55%;
}
.gradient-5f1efd {
background: linear-gradient(135deg, #5f1efd, #cf1efd);
}
.shadow-5f1efd {
box-shadow: 0 8px 24px rgb(95 30 253 / 0.35);
}
Han Purple
#5f1efd rgb(95, 30, 253) hsl(257, 98%, 55%) Han Purple
#bcfd1e rgb(188, 253, 30) hsl(77, 98%, 55%) Spring Bud
#fd5f1e rgb(253, 95, 30) hsl(17, 98%, 55%) International Orange
#1efd5f rgb(30, 253, 95) hsl(137, 98%, 55%) Spring Green