#B42CEB

#b42ceb ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#b42ceb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 70.59% red, 17.25% green and 92.16% blue; printed in CMYK it uses 23.4% cyan, 81.28% magenta, 0% yellow and 7.84% black. Its hue angle is 282.72°, with 82.68% saturation and 54.71% 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. White text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.69.

Description generated from the measured properties of this color.

Conversions of #b42ceb into other color spaces
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 luminance0.175

Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #925fb1 ≈ 0.001% of males
Protanopia #006ef0 ≈ 1.01% of males
Deuteranopia #0077e7 ≈ 1.27% of males
Tritanopia #ae5d8e ≈ 0.0001% of males
Protanomaly #685aee ≈ 1.08% of males
Deuteranomaly #7661e9 ≈ 4.63% of males
Tritanomaly #b04ebb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b42ceb {
  color: #b42ceb;
}
Background
.bg-b42ceb {
  background-color: #b42ceb;
  color: #ffffff;
}
Border
.border-b42ceb {
  border: 2px solid #b42ceb;
}
CSS variables
:root {
  --color-primary: #b42ceb;
  --color-primary-rgb: 180 44 235;
  --color-primary-hsl: 283 83% 55%;
}
Gradient
.gradient-b42ceb {
  background: linear-gradient(135deg, #b42ceb, #eb2cc3);
}
Colored shadow
.shadow-b42ceb {
  box-shadow: 0 8px 24px rgb(180 44 235 / 0.35);
}

Electric Purple
#b42ceb  rgb(180, 44, 235)  hsl(283, 83%, 55%)  Electric Purple
#63eb2c  rgb(99, 235, 44)  hsl(103, 83%, 55%)  Harlequin
#ebb42c  rgb(235, 180, 44)  hsl(43, 83%, 55%)  Meat Brown
#2cebb4  rgb(44, 235, 180)  hsl(163, 83%, 55%)  Aquamarine