#5b02ff ≈ Han Purple
#5b02ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.69% red, 0.78% green and 100% blue; printed in CMYK it uses 64.31% cyan, 99.22% magenta, 0% yellow and 0% black. Its hue angle is 261.11°, with 100% saturation and 50.39% 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.25:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.27.
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.0949 |
Shades
#5b02ff mixed progressively with black.
Tints
#5b02ff mixed progressively with white.
Tones
#5b02ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5b02ff {
color: #5b02ff;
}
.bg-5b02ff {
background-color: #5b02ff;
color: #ffffff;
}
.border-5b02ff {
border: 2px solid #5b02ff;
}
:root {
--color-primary: #5b02ff;
--color-primary-rgb: 91 2 255;
--color-primary-hsl: 261 100% 50%;
}
.gradient-5b02ff {
background: linear-gradient(135deg, #5b02ff, #da02ff);
}
.shadow-5b02ff {
box-shadow: 0 8px 24px rgb(91 2 255 / 0.35);
}
Han Purple
#5b02ff rgb(91, 2, 255) hsl(261, 100%, 50%) Han Purple
#a6ff02 rgb(166, 255, 2) hsl(81, 100%, 50%) Spring Bud
#ff5b02 rgb(255, 91, 2) hsl(21, 100%, 50%) International Orange
#02ff5b rgb(2, 255, 91) hsl(141, 100%, 50%) Spring Green