#B331EC

#b331ec ≈ Electric Purple

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

#b331ec is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 70.2% red, 19.22% green and 92.55% blue; printed in CMYK it uses 24.15% cyan, 79.24% magenta, 0% yellow and 7.45% black. Its hue angle is 281.71°, with 83.11% saturation and 55.88% 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 4.6:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.79.

Description generated from the measured properties of this color.

Conversions of #b331ec 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.1784

Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9261b2 ≈ 0.001% of males
Protanopia #006ff1 ≈ 1.01% of males
Deuteranopia #0378e8 ≈ 1.27% of males
Tritanopia #ac6090 ≈ 0.0001% of males
Protanomaly #685cef ≈ 1.08% of males
Deuteranomaly #7663ea ≈ 4.63% of males
Tritanomaly #af51bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b331ec {
  color: #b331ec;
}
Background
.bg-b331ec {
  background-color: #b331ec;
  color: #ffffff;
}
Border
.border-b331ec {
  border: 2px solid #b331ec;
}
CSS variables
:root {
  --color-primary: #b331ec;
  --color-primary-rgb: 179 49 236;
  --color-primary-hsl: 282 83% 56%;
}
Gradient
.gradient-b331ec {
  background: linear-gradient(135deg, #b331ec, #ec31c8);
}
Colored shadow
.shadow-b331ec {
  box-shadow: 0 8px 24px rgb(179 49 236 / 0.35);
}

Electric Purple
#b331ec  rgb(179, 49, 236)  hsl(282, 83%, 56%)  Electric Purple
#6aec31  rgb(106, 236, 49)  hsl(102, 83%, 56%)  Lawn Green
#ecb331  rgb(236, 179, 49)  hsl(42, 83%, 56%)  Meat Brown
#31ecb3  rgb(49, 236, 179)  hsl(162, 83%, 56%)  Aquamarine