#BA16E2

#ba16e2 ≈ Electric Purple

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

#ba16e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 8.63% green and 88.63% blue; printed in CMYK it uses 17.7% cyan, 90.27% magenta, 0% yellow and 11.37% black. Its hue angle is 288.24°, with 82.26% saturation and 48.63% 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 3.71.

Description generated from the measured properties of this color.

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

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 #945aaa ≈ 0.001% of males
Protanopia #0068e7 ≈ 1.01% of males
Deuteranopia #1f75de ≈ 1.27% of males
Tritanopia #b85086 ≈ 0.0001% of males
Protanomaly #6d53e5 ≈ 1.08% of males
Deuteranomaly #7d5de0 ≈ 4.63% of males
Tritanomaly #b940b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba16e2 {
  color: #ba16e2;
}
Background
.bg-ba16e2 {
  background-color: #ba16e2;
  color: #ffffff;
}
Border
.border-ba16e2 {
  border: 2px solid #ba16e2;
}
CSS variables
:root {
  --color-primary: #ba16e2;
  --color-primary-rgb: 186 22 226;
  --color-primary-hsl: 288 82% 49%;
}
Gradient
.gradient-ba16e2 {
  background: linear-gradient(135deg, #ba16e2, #e216a4);
}
Colored shadow
.shadow-ba16e2 {
  box-shadow: 0 8px 24px rgb(186 22 226 / 0.35);
}

Electric Purple
#ba16e2  rgb(186, 22, 226)  hsl(288, 82%, 49%)  Electric Purple
#3ee216  rgb(62, 226, 22)  hsl(108, 82%, 49%)  Lime Green
#e2ba16  rgb(226, 186, 22)  hsl(48, 82%, 49%)  Meat Brown
#16e2ba  rgb(22, 226, 186)  hsl(168, 82%, 49%)  Caribbean Green