#BA07EF

#ba07ef ≈ Electric Purple

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

#ba07ef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 2.75% green and 93.73% blue; printed in CMYK it uses 22.18% cyan, 97.07% magenta, 0% yellow and 6.27% black. Its hue angle is 286.29°, with 94.31% saturation and 48.24% 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.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.26.

Description generated from the measured properties of this color.

Conversions of #ba07ef 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.1682

Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #945ab2 ≈ 0.001% of males
Protanopia #006af4 ≈ 1.01% of males
Deuteranopia #0076eb ≈ 1.27% of males
Tritanopia #b5558d ≈ 0.0001% of males
Protanomaly #6753f2 ≈ 1.08% of males
Deuteranomaly #785ded ≈ 4.63% of males
Tritanomaly #b743bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba07ef  rgb(186, 7, 239)  hsl(286, 94%, 48%)  Electric Purple
#3cef07  rgb(60, 239, 7)  hsl(106, 94%, 48%)  Neon Green
#efba07  rgb(239, 186, 7)  hsl(46, 94%, 48%)  Golden Poppy
#07efba  rgb(7, 239, 186)  hsl(166, 94%, 48%)  Aquamarine