#5838ef ≈ Han Purple
#5838ef is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 34.51% red, 21.96% green and 93.73% blue; printed in CMYK it uses 63.18% cyan, 76.57% magenta, 0% yellow and 6.27% black. Its hue angle is 250.49°, with 85.12% 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.51:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 4.15.
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.1114 |
Shades
#5838ef mixed progressively with black.
Tints
#5838ef mixed progressively with white.
Tones
#5838ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5838ef {
color: #5838ef;
}
.bg-5838ef {
background-color: #5838ef;
color: #ffffff;
}
.border-5838ef {
border: 2px solid #5838ef;
}
:root {
--color-primary: #5838ef;
--color-primary-rgb: 88 56 239;
--color-primary-hsl: 250 85% 58%;
}
.gradient-5838ef {
background: linear-gradient(135deg, #5838ef, #b338ef);
}
.shadow-5838ef {
box-shadow: 0 8px 24px rgb(88 56 239 / 0.35);
}
Han Purple
#5838ef rgb(88, 56, 239) hsl(250, 85%, 58%) Han Purple
#cfef38 rgb(207, 239, 56) hsl(70, 85%, 58%) Pear
#ef5838 rgb(239, 88, 56) hsl(10, 85%, 58%) Tomato
#38ef58 rgb(56, 239, 88) hsl(130, 85%, 58%) Malachite