#B221EC

#b221ec ≈ Electric Purple

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

#b221ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 69.8% red, 12.94% green and 92.55% blue; printed in CMYK it uses 24.58% cyan, 86.02% magenta, 0% yellow and 7.45% black. Its hue angle is 282.86°, with 84.23% saturation and 52.75% 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.86:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.82.

Description generated from the measured properties of this color.

Conversions of #b221ec 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.1661

Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #905bb0 ≈ 0.001% of males
Protanopia #006bf1 ≈ 1.01% of males
Deuteranopia #0074e8 ≈ 1.27% of males
Tritanopia #ab5a8d ≈ 0.0001% of males
Protanomaly #6356ef ≈ 1.08% of males
Deuteranomaly #725eea ≈ 4.63% of males
Tritanomaly #ae4abb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b221ec {
  color: #b221ec;
}
Background
.bg-b221ec {
  background-color: #b221ec;
  color: #ffffff;
}
Border
.border-b221ec {
  border: 2px solid #b221ec;
}
CSS variables
:root {
  --color-primary: #b221ec;
  --color-primary-rgb: 178 33 236;
  --color-primary-hsl: 283 84% 53%;
}
Gradient
.gradient-b221ec {
  background: linear-gradient(135deg, #b221ec, #ec21c0);
}
Colored shadow
.shadow-b221ec {
  box-shadow: 0 8px 24px rgb(178 33 236 / 0.35);
}

Electric Purple
#b221ec  rgb(178, 33, 236)  hsl(283, 84%, 53%)  Electric Purple
#5bec21  rgb(91, 236, 33)  hsl(103, 84%, 53%)  Harlequin
#ecb221  rgb(236, 178, 33)  hsl(43, 84%, 53%)  Meat Brown
#21ecb2  rgb(33, 236, 178)  hsl(163, 84%, 53%)  Aquamarine