#B042ED

#b042ed ≈ Electric Purple

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

#b042ed 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 92.94% blue; printed in CMYK it uses 25.74% cyan, 72.15% magenta, 0% yellow and 7.06% black. Its hue angle is 278.6°, with 82.61% saturation and 59.41% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 4.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.2.

Description generated from the measured properties of this color.

Conversions of #b042ed 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.1924

Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #9268b4 ≈ 0.001% of males
Protanopia #0075f2 ≈ 1.01% of males
Deuteranopia #1e7be9 ≈ 1.27% of males
Tritanopia #a86994 ≈ 0.0001% of males
Protanomaly #6a64f0 ≈ 1.08% of males
Deuteranomaly #7669eb ≈ 4.63% of males
Tritanomaly #ab5cbe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b042ed  rgb(176, 66, 237)  hsl(279, 83%, 59%)  Electric Purple
#7fed42  rgb(127, 237, 66)  hsl(99, 83%, 59%)  Lawn Green
#edb042  rgb(237, 176, 66)  hsl(39, 83%, 59%)  Marigold
#42edb0  rgb(66, 237, 176)  hsl(159, 83%, 59%)  Medium Spring Green