#B042EA

#b042ea ≈ Electric Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#b042ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 69.02% red, 25.88% green and 91.76% blue; printed in CMYK it uses 24.79% cyan, 71.79% magenta, 0% yellow and 8.24% black. Its hue angle is 279.29°, with 80% saturation and 58.82% 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 brand accents. Black text on this color reaches a contrast ratio of 4.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.3.

Description generated from the measured properties of this color.

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

Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #9267b2 ≈ 0.001% of males
Protanopia #0074ef ≈ 1.01% of males
Deuteranopia #257be6 ≈ 1.27% of males
Tritanopia #a86893 ≈ 0.0001% of males
Protanomaly #6b64ed ≈ 1.08% of males
Deuteranomaly #7769e8 ≈ 4.63% of males
Tritanomaly #ac5bbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b042ea {
  color: #b042ea;
}
Background
.bg-b042ea {
  background-color: #b042ea;
  color: #000000;
}
Border
.border-b042ea {
  border: 2px solid #b042ea;
}
CSS variables
:root {
  --color-primary: #b042ea;
  --color-primary-rgb: 176 66 234;
  --color-primary-hsl: 279 80% 59%;
}
Gradient
.gradient-b042ea {
  background: linear-gradient(135deg, #b042ea, #ea42d0);
}
Colored shadow
.shadow-b042ea {
  box-shadow: 0 8px 24px rgb(176 66 234 / 0.35);
}

Electric Purple
#b042ea  rgb(176, 66, 234)  hsl(279, 80%, 59%)  Electric Purple
#7cea42  rgb(124, 234, 66)  hsl(99, 80%, 59%)  Lawn Green
#eab042  rgb(234, 176, 66)  hsl(39, 80%, 59%)  Goldenrod
#42eab0  rgb(66, 234, 176)  hsl(159, 80%, 59%)  Aquamarine