#B311EA

#b311ea ≈ Electric Purple

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

#b311ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 6.67% green and 91.76% blue; printed in CMYK it uses 23.5% cyan, 92.74% magenta, 0% yellow and 8.24% black. Its hue angle is 284.79°, with 86.45% saturation and 49.22% 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. White text on this color reaches a contrast ratio of 5.02:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.36.

Description generated from the measured properties of this color.

Conversions of #b311ea into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1593

Readable text 5.02:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #8f58ae ≈ 0.001% of males
Protanopia #0068ef ≈ 1.01% of males
Deuteranopia #0072e6 ≈ 1.27% of males
Tritanopia #ad558a ≈ 0.0001% of males
Protanomaly #6352ed ≈ 1.08% of males
Deuteranomaly #735be8 ≈ 4.63% of males
Tritanomaly #af44b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b311ea {
  color: #b311ea;
}
Background
.bg-b311ea {
  background-color: #b311ea;
  color: #ffffff;
}
Border
.border-b311ea {
  border: 2px solid #b311ea;
}
CSS variables
:root {
  --color-primary: #b311ea;
  --color-primary-rgb: 179 17 234;
  --color-primary-hsl: 285 86% 49%;
}
Gradient
.gradient-b311ea {
  background: linear-gradient(135deg, #b311ea, #ea11b5);
}
Colored shadow
.shadow-b311ea {
  box-shadow: 0 8px 24px rgb(179 17 234 / 0.35);
}

Electric Purple
#b311ea  rgb(179, 17, 234)  hsl(285, 86%, 49%)  Electric Purple
#48ea11  rgb(72, 234, 17)  hsl(105, 86%, 49%)  Neon Green
#eab311  rgb(234, 179, 17)  hsl(45, 86%, 49%)  Meat Brown
#11eab3  rgb(17, 234, 179)  hsl(165, 86%, 49%)  Caribbean Green