#B228EE

#b228ee ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #b228ee 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.1716

Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #905eb2 ≈ 0.001% of males
Protanopia #006df3 ≈ 1.01% of males
Deuteranopia #0075ea ≈ 1.27% of males
Tritanopia #aa5e8f ≈ 0.0001% of males
Protanomaly #6459f1 ≈ 1.08% of males
Deuteranomaly #7360ec ≈ 4.63% of males
Tritanomaly #ae4dbd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b228ee  rgb(178, 40, 238)  hsl(282, 85%, 55%)  Electric Purple
#64ee28  rgb(100, 238, 40)  hsl(102, 85%, 55%)  Harlequin
#eeb228  rgb(238, 178, 40)  hsl(42, 85%, 55%)  Meat Brown
#28eeb2  rgb(40, 238, 178)  hsl(162, 85%, 55%)  Medium Spring Green