#B22EEE

#b22eee ≈ Electric Purple

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

#b22eee is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 69.8% red, 18.04% green and 93.33% blue; printed in CMYK it uses 25.21% cyan, 80.67% magenta, 0% yellow and 6.67% black. Its hue angle is 281.25°, with 84.96% saturation and 55.69% 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.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.59.

Description generated from the measured properties of this color.

Conversions of #b22eee 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.1759

Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #9160b2 ≈ 0.001% of males
Protanopia #006ef3 ≈ 1.01% of males
Deuteranopia #0077ea ≈ 1.27% of males
Tritanopia #aa6090 ≈ 0.0001% of males
Protanomaly #655bf1 ≈ 1.08% of males
Deuteranomaly #7462ec ≈ 4.63% of males
Tritanomaly #ad50bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b22eee {
  color: #b22eee;
}
Background
.bg-b22eee {
  background-color: #b22eee;
  color: #ffffff;
}
Border
.border-b22eee {
  border: 2px solid #b22eee;
}
CSS variables
:root {
  --color-primary: #b22eee;
  --color-primary-rgb: 178 46 238;
  --color-primary-hsl: 281 85% 56%;
}
Gradient
.gradient-b22eee {
  background: linear-gradient(135deg, #b22eee, #ee2eca);
}
Colored shadow
.shadow-b22eee {
  box-shadow: 0 8px 24px rgb(178 46 238 / 0.35);
}

Electric Purple
#b22eee  rgb(178, 46, 238)  hsl(281, 85%, 56%)  Electric Purple
#6aee2e  rgb(106, 238, 46)  hsl(101, 85%, 56%)  Lawn Green
#eeb22e  rgb(238, 178, 46)  hsl(41, 85%, 56%)  Meat Brown
#2eeeb2  rgb(46, 238, 178)  hsl(161, 85%, 56%)  Medium Spring Green