#BA06EF

#ba06ef ≈ Electric Purple

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

#ba06ef 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.35% green and 93.73% blue; printed in CMYK it uses 22.18% cyan, 97.49% magenta, 0% yellow and 6.27% black. Its hue angle is 286.35°, with 95.1% saturation and 48.04% 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.82:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.28.

Description generated from the measured properties of this color.

Conversions of #ba06ef 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.168

Readable text 4.82: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 #b742bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba06ef  rgb(186, 6, 239)  hsl(286, 95%, 48%)  Electric Purple
#3bef06  rgb(59, 239, 6)  hsl(106, 95%, 48%)  Neon Green
#efba06  rgb(239, 186, 6)  hsl(46, 95%, 48%)  Golden Poppy
#06efba  rgb(6, 239, 186)  hsl(166, 95%, 48%)  Aquamarine