#BA28EA

#ba28ea ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#ba28ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 15.69% green and 91.76% blue; printed in CMYK it uses 20.51% cyan, 82.91% magenta, 0% yellow and 8.24% black. Its hue angle is 285.15°, with 82.2% saturation and 53.73% lightness in HSL. It sits between warm and cool, and is 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.59:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.61.

Description generated from the measured properties of this color.

Conversions of #ba28ea 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.179

Readable text 4.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9660b0 ≈ 0.001% of males
Protanopia #006eef ≈ 1.01% of males
Deuteranopia #1b79e6 ≈ 1.27% of males
Tritanopia #b65a8d ≈ 0.0001% of males
Protanomaly #6d5aed ≈ 1.08% of males
Deuteranomaly #7c62e8 ≈ 4.63% of males
Tritanomaly #b84bba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba28ea {
  color: #ba28ea;
}
Background
.bg-ba28ea {
  background-color: #ba28ea;
  color: #ffffff;
}
Border
.border-ba28ea {
  border: 2px solid #ba28ea;
}
CSS variables
:root {
  --color-primary: #ba28ea;
  --color-primary-rgb: 186 40 234;
  --color-primary-hsl: 285 82% 54%;
}
Gradient
.gradient-ba28ea {
  background: linear-gradient(135deg, #ba28ea, #ea28b9);
}
Colored shadow
.shadow-ba28ea {
  box-shadow: 0 8px 24px rgb(186 40 234 / 0.35);
}

Electric Purple
#ba28ea  rgb(186, 40, 234)  hsl(285, 82%, 54%)  Electric Purple
#58ea28  rgb(88, 234, 40)  hsl(105, 82%, 54%)  Neon Green
#eaba28  rgb(234, 186, 40)  hsl(45, 82%, 54%)  Meat Brown
#28eaba  rgb(40, 234, 186)  hsl(165, 82%, 54%)  Aquamarine