#5f00ff ≈ Han Purple
#5f00ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 0% green and 100% blue; printed in CMYK it uses 62.75% cyan, 100% magenta, 0% yellow and 0% black. Its hue angle is 262.35°, with 100% saturation and 50% 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.17:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.56.
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.0965 |
Shades
#5f00ff mixed progressively with black.
Tints
#5f00ff mixed progressively with white.
Tones
#5f00ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f00ff {
color: #5f00ff;
}
.bg-5f00ff {
background-color: #5f00ff;
color: #ffffff;
}
.border-5f00ff {
border: 2px solid #5f00ff;
}
:root {
--color-primary: #5f00ff;
--color-primary-rgb: 95 0 255;
--color-primary-hsl: 262 100% 50%;
}
.gradient-5f00ff {
background: linear-gradient(135deg, #5f00ff, #de00ff);
}
.shadow-5f00ff {
box-shadow: 0 8px 24px rgb(95 0 255 / 0.35);
}
Han Purple
#5f00ff rgb(95, 0, 255) hsl(262, 100%, 50%) Han Purple
#a0ff00 rgb(160, 255, 0) hsl(82, 100%, 50%) Spring Bud
#ff5f00 rgb(255, 95, 0) hsl(22, 100%, 50%) International Orange
#00ff5f rgb(0, 255, 95) hsl(142, 100%, 50%) Spring Green