#402efa ≈ Han Purple
#402efa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 18.04% green and 98.04% blue; printed in CMYK it uses 74.4% cyan, 81.6% magenta, 0% yellow and 1.96% black. Its hue angle is 245.29°, with 95.33% saturation and 58.04% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 7.03:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.79.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0995 |
Shades
#402efa mixed progressively with black.
Tints
#402efa mixed progressively with white.
Tones
#402efa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-402efa {
color: #402efa;
}
.bg-402efa {
background-color: #402efa;
color: #ffffff;
}
.border-402efa {
border: 2px solid #402efa;
}
:root {
--color-primary: #402efa;
--color-primary-rgb: 64 46 250;
--color-primary-hsl: 245 95% 58%;
}
.gradient-402efa {
background: linear-gradient(135deg, #402efa, #a62efa);
}
.shadow-402efa {
box-shadow: 0 8px 24px rgb(64 46 250 / 0.35);
}
Han Purple
#402efa rgb(64, 46, 250) hsl(245, 95%, 58%) Han Purple
#e8fa2e rgb(232, 250, 46) hsl(65, 95%, 58%) Lemon Lime
#fa402e rgb(250, 64, 46) hsl(5, 95%, 58%) Cinnabar
#2efa40 rgb(46, 250, 64) hsl(125, 95%, 58%) Lime