#b837fa ≈ Electric Purple
#b837fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 72.16% red, 21.57% green and 98.04% blue; printed in CMYK it uses 26.4% cyan, 78% magenta, 0% yellow and 1.96% black. Its hue angle is 279.69°, with 95.12% saturation and 59.8% 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. Black text on this color reaches a contrast ratio of 4.96:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.94.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1982 |
Shades
#b837fa mixed progressively with black.
Tints
#b837fa mixed progressively with white.
Tones
#b837fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b837fa {
color: #b837fa;
}
.bg-b837fa {
background-color: #b837fa;
color: #000000;
}
.border-b837fa {
border: 2px solid #b837fa;
}
:root {
--color-primary: #b837fa;
--color-primary-rgb: 184 55 250;
--color-primary-hsl: 280 95% 60%;
}
.gradient-b837fa {
background: linear-gradient(135deg, #b837fa, #fa37db);
}
.shadow-b837fa {
box-shadow: 0 8px 24px rgb(184 55 250 / 0.35);
}
Electric Purple
#b837fa rgb(184, 55, 250) hsl(280, 95%, 60%) Electric Purple
#79fa37 rgb(121, 250, 55) hsl(100, 95%, 60%) Lawn Green
#fab837 rgb(250, 184, 55) hsl(40, 95%, 60%) Amber
#37fab8 rgb(55, 250, 184) hsl(160, 95%, 60%) Medium Spring Green