#b22ff2 ≈ Electric Purple
#b22ff2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 69.8% red, 18.43% green and 94.9% blue; printed in CMYK it uses 26.45% cyan, 80.58% magenta, 0% yellow and 5.1% black. Its hue angle is 280.31°, with 88.24% saturation and 56.67% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. 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.58:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.38.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1791 |
Shades
#b22ff2 mixed progressively with black.
Tints
#b22ff2 mixed progressively with white.
Tones
#b22ff2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b22ff2 {
color: #b22ff2;
}
.bg-b22ff2 {
background-color: #b22ff2;
color: #000000;
}
.border-b22ff2 {
border: 2px solid #b22ff2;
}
:root {
--color-primary: #b22ff2;
--color-primary-rgb: 178 47 242;
--color-primary-hsl: 280 88% 57%;
}
.gradient-b22ff2 {
background: linear-gradient(135deg, #b22ff2, #f22fd0);
}
.shadow-b22ff2 {
box-shadow: 0 8px 24px rgb(178 47 242 / 0.35);
}
Electric Purple
#b22ff2 rgb(178, 47, 242) hsl(280, 88%, 57%) Electric Purple
#6ff22f rgb(111, 242, 47) hsl(100, 88%, 57%) Lawn Green
#f2b22f rgb(242, 178, 47) hsl(40, 88%, 57%) Marigold
#2ff2b2 rgb(47, 242, 178) hsl(160, 88%, 57%) Medium Spring Green