#BA01EC

#ba01ec ≈ Electric Purple

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

#ba01ec 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.39% green and 92.55% blue; printed in CMYK it uses 21.19% cyan, 99.58% magenta, 0% yellow and 7.45% black. Its hue angle is 287.23°, with 99.16% 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.88:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.74.

Description generated from the measured properties of this color.

Conversions of #ba01ec 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.1652

Readable text 4.88: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 #9459b0 ≈ 0.001% of males
Protanopia #0068f1 ≈ 1.01% of males
Deuteranopia #0075e8 ≈ 1.27% of males
Tritanopia #b6538b ≈ 0.0001% of males
Protanomaly #6852ef ≈ 1.08% of males
Deuteranomaly #795cea ≈ 4.63% of males
Tritanomaly #b740ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba01ec  rgb(186, 1, 236)  hsl(287, 99%, 46%)  Electric Purple
#33ec01  rgb(51, 236, 1)  hsl(107, 99%, 46%)  Lime
#ecba01  rgb(236, 186, 1)  hsl(47, 99%, 46%)  Saffron
#01ecba  rgb(1, 236, 186)  hsl(167, 99%, 46%)  Aquamarine