#B040EA

#b040ea ≈ Electric Purple

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

#b040ea 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.1% green and 91.76% blue; printed in CMYK it uses 24.79% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 279.53°, with 80.19% saturation and 58.43% 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.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.08.

Description generated from the measured properties of this color.

Conversions of #b040ea 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.1884

Readable text 4.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9266b1 ≈ 0.001% of males
Protanopia #0073ef ≈ 1.01% of males
Deuteranopia #227ae6 ≈ 1.27% of males
Tritanopia #a86792 ≈ 0.0001% of males
Protanomaly #6a63ed ≈ 1.08% of males
Deuteranomaly #7768e8 ≈ 4.63% of males
Tritanomaly #ac5abc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b040ea  rgb(176, 64, 234)  hsl(280, 80%, 58%)  Electric Purple
#7aea40  rgb(122, 234, 64)  hsl(100, 80%, 58%)  Lawn Green
#eab040  rgb(234, 176, 64)  hsl(40, 80%, 58%)  Meat Brown
#40eab0  rgb(64, 234, 176)  hsl(160, 80%, 58%)  Aquamarine