#B42FF2

#b42ff2 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#b42ff2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.59% red, 18.43% green and 94.9% blue; printed in CMYK it uses 25.62% cyan, 80.58% magenta, 0% yellow and 5.1% black. Its hue angle is 280.92°, 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.63:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.27.

Description generated from the measured properties of this color.

Conversions of #b42ff2 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.1815

Readable text 4.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #9361b5 ≈ 0.001% of males
Protanopia #0070f7 ≈ 1.01% of males
Deuteranopia #0078ee ≈ 1.27% of males
Tritanopia #ac6293 ≈ 0.0001% of males
Protanomaly #665df5 ≈ 1.08% of males
Deuteranomaly #7563f0 ≈ 4.63% of males
Tritanomaly #af52c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b42ff2 {
  color: #b42ff2;
}
Background
.bg-b42ff2 {
  background-color: #b42ff2;
  color: #000000;
}
Border
.border-b42ff2 {
  border: 2px solid #b42ff2;
}
CSS variables
:root {
  --color-primary: #b42ff2;
  --color-primary-rgb: 180 47 242;
  --color-primary-hsl: 281 88% 57%;
}
Gradient
.gradient-b42ff2 {
  background: linear-gradient(135deg, #b42ff2, #f22fcf);
}
Colored shadow
.shadow-b42ff2 {
  box-shadow: 0 8px 24px rgb(180 47 242 / 0.35);
}

Electric Purple
#b42ff2  rgb(180, 47, 242)  hsl(281, 88%, 57%)  Electric Purple
#6df22f  rgb(109, 242, 47)  hsl(101, 88%, 57%)  Lawn Green
#f2b42f  rgb(242, 180, 47)  hsl(41, 88%, 57%)  Meat Brown
#2ff2b4  rgb(47, 242, 180)  hsl(161, 88%, 57%)  Medium Spring Green