#BB42F2

#bb42f2 ≈ Electric Purple

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

#bb42f2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 73.33% red, 25.88% green and 94.9% blue; printed in CMYK it uses 22.73% cyan, 72.73% magenta, 0% yellow and 5.1% black. Its hue angle is 281.25°, with 87.13% saturation and 60.39% 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 5.17:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.52.

Description generated from the measured properties of this color.

Conversions of #bb42f2 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.2087

Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #9a6bb8 ≈ 0.001% of males
Protanopia #0078f7 ≈ 1.01% of males
Deuteranopia #2e81ee ≈ 1.27% of males
Tritanopia #b56a97 ≈ 0.0001% of males
Protanomaly #7267f5 ≈ 1.08% of males
Deuteranomaly #806df0 ≈ 4.63% of males
Tritanomaly #b75cc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-bb42f2 {
  color: #bb42f2;
}
Background
.bg-bb42f2 {
  background-color: #bb42f2;
  color: #000000;
}
Border
.border-bb42f2 {
  border: 2px solid #bb42f2;
}
CSS variables
:root {
  --color-primary: #bb42f2;
  --color-primary-rgb: 187 66 242;
  --color-primary-hsl: 281 87% 60%;
}
Gradient
.gradient-bb42f2 {
  background: linear-gradient(135deg, #bb42f2, #f242d1);
}
Colored shadow
.shadow-bb42f2 {
  box-shadow: 0 8px 24px rgb(187 66 242 / 0.35);
}

Electric Purple
#bb42f2  rgb(187, 66, 242)  hsl(281, 87%, 60%)  Electric Purple
#79f242  rgb(121, 242, 66)  hsl(101, 87%, 60%)  Lawn Green
#f2bb42  rgb(242, 187, 66)  hsl(41, 87%, 60%)  Meat Brown
#42f2bb  rgb(66, 242, 187)  hsl(161, 87%, 60%)  Aquamarine