#BA18EA

#ba18ea ≈ Electric Purple

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

#ba18ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 9.41% green and 91.76% blue; printed in CMYK it uses 20.51% cyan, 89.74% magenta, 0% yellow and 8.24% black. Its hue angle is 286.29°, with 83.33% saturation and 50.59% 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.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.62.

Description generated from the measured properties of this color.

Conversions of #ba18ea 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.1703

Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #955caf ≈ 0.001% of males
Protanopia #006aef ≈ 1.01% of males
Deuteranopia #0276e6 ≈ 1.27% of males
Tritanopia #b6558b ≈ 0.0001% of males
Protanomaly #6b55ed ≈ 1.08% of males
Deuteranomaly #7b5fe8 ≈ 4.63% of males
Tritanomaly #b844b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba18ea  rgb(186, 24, 234)  hsl(286, 83%, 51%)  Electric Purple
#48ea18  rgb(72, 234, 24)  hsl(106, 83%, 51%)  Neon Green
#eaba18  rgb(234, 186, 24)  hsl(46, 83%, 51%)  Saffron
#18eaba  rgb(24, 234, 186)  hsl(166, 83%, 51%)  Aquamarine