#5f2dfa ≈ Han Purple
#5f2dfa 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 98.04% blue; printed in CMYK it uses 62% cyan, 82% magenta, 0% yellow and 1.96% black. Its hue angle is 254.63°, with 95.35% saturation and 57.84% 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.48:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.08.
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.1121 |
Shades
#5f2dfa mixed progressively with black.
Tints
#5f2dfa mixed progressively with white.
Tones
#5f2dfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f2dfa {
color: #5f2dfa;
}
.bg-5f2dfa {
background-color: #5f2dfa;
color: #ffffff;
}
.border-5f2dfa {
border: 2px solid #5f2dfa;
}
:root {
--color-primary: #5f2dfa;
--color-primary-rgb: 95 45 250;
--color-primary-hsl: 255 95% 58%;
}
.gradient-5f2dfa {
background: linear-gradient(135deg, #5f2dfa, #c52dfa);
}
.shadow-5f2dfa {
box-shadow: 0 8px 24px rgb(95 45 250 / 0.35);
}
Han Purple
#5f2dfa rgb(95, 45, 250) hsl(255, 95%, 58%) Han Purple
#c8fa2d rgb(200, 250, 45) hsl(75, 95%, 58%) Electric Lime
#fa5f2d rgb(250, 95, 45) hsl(15, 95%, 58%) International Orange
#2dfa5f rgb(45, 250, 95) hsl(135, 95%, 58%) Spring Green