#5f2dfd ≈ Han Purple
#5f2dfd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 17.65% green and 99.22% blue; printed in CMYK it uses 62.45% cyan, 82.21% magenta, 0% yellow and 0.78% black. Its hue angle is 254.42°, with 98.11% saturation and 58.43% 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.4:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.27.
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.114 |
Shades
#5f2dfd mixed progressively with black.
Tints
#5f2dfd mixed progressively with white.
Tones
#5f2dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f2dfd {
color: #5f2dfd;
}
.bg-5f2dfd {
background-color: #5f2dfd;
color: #ffffff;
}
.border-5f2dfd {
border: 2px solid #5f2dfd;
}
:root {
--color-primary: #5f2dfd;
--color-primary-rgb: 95 45 253;
--color-primary-hsl: 254 98% 58%;
}
.gradient-5f2dfd {
background: linear-gradient(135deg, #5f2dfd, #c72dfd);
}
.shadow-5f2dfd {
box-shadow: 0 8px 24px rgb(95 45 253 / 0.35);
}
Han Purple
#5f2dfd rgb(95, 45, 253) hsl(254, 98%, 58%) Han Purple
#cbfd2d rgb(203, 253, 45) hsl(74, 98%, 58%) Electric Lime
#fd5f2d rgb(253, 95, 45) hsl(14, 98%, 58%) International Orange
#2dfd5f rgb(45, 253, 95) hsl(134, 98%, 58%) Spring Green