#BA02EB

#ba02eb ≈ Electric Purple

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

#ba02eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 0.78% green and 92.16% blue; printed in CMYK it uses 20.85% cyan, 99.15% magenta, 0% yellow and 7.84% black. Its hue angle is 287.38°, with 98.31% saturation and 46.47% 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.89:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.85.

Description generated from the measured properties of this color.

Conversions of #ba02eb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1648

Readable text 4.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.3:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #9459af ≈ 0.001% of males
Protanopia #0068f0 ≈ 1.01% of males
Deuteranopia #0075e7 ≈ 1.27% of males
Tritanopia #b6528a ≈ 0.0001% of males
Protanomaly #6852ee ≈ 1.08% of males
Deuteranomaly #795ce9 ≈ 4.63% of males
Tritanomaly #b840b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba02eb {
  color: #ba02eb;
}
Background
.bg-ba02eb {
  background-color: #ba02eb;
  color: #ffffff;
}
Border
.border-ba02eb {
  border: 2px solid #ba02eb;
}
CSS variables
:root {
  --color-primary: #ba02eb;
  --color-primary-rgb: 186 2 235;
  --color-primary-hsl: 287 98% 46%;
}
Gradient
.gradient-ba02eb {
  background: linear-gradient(135deg, #ba02eb, #eb02a8);
}
Colored shadow
.shadow-ba02eb {
  box-shadow: 0 8px 24px rgb(186 2 235 / 0.35);
}

Electric Purple
#ba02eb  rgb(186, 2, 235)  hsl(287, 98%, 46%)  Electric Purple
#33eb02  rgb(51, 235, 2)  hsl(107, 98%, 46%)  Lime
#ebba02  rgb(235, 186, 2)  hsl(47, 98%, 46%)  Saffron
#02ebba  rgb(2, 235, 186)  hsl(167, 98%, 46%)  Aquamarine