#5f2ffb ≈ Han Purple
#5f2ffb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 18.43% green and 98.43% blue; printed in CMYK it uses 62.15% cyan, 81.27% magenta, 0% yellow and 1.57% black. Its hue angle is 254.12°, with 96.23% 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.39:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.41.
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.1143 |
Shades
#5f2ffb mixed progressively with black.
Tints
#5f2ffb mixed progressively with white.
Tones
#5f2ffb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f2ffb {
color: #5f2ffb;
}
.bg-5f2ffb {
background-color: #5f2ffb;
color: #ffffff;
}
.border-5f2ffb {
border: 2px solid #5f2ffb;
}
:root {
--color-primary: #5f2ffb;
--color-primary-rgb: 95 47 251;
--color-primary-hsl: 254 96% 58%;
}
.gradient-5f2ffb {
background: linear-gradient(135deg, #5f2ffb, #c52ffb);
}
.shadow-5f2ffb {
box-shadow: 0 8px 24px rgb(95 47 251 / 0.35);
}
Han Purple
#5f2ffb rgb(95, 47, 251) hsl(254, 96%, 58%) Han Purple
#cbfb2f rgb(203, 251, 47) hsl(74, 96%, 58%) Electric Lime
#fb5f2f rgb(251, 95, 47) hsl(14, 96%, 58%) International Orange
#2ffb5f rgb(47, 251, 95) hsl(134, 96%, 58%) Spring Green