#BA08FC

#ba08fc ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#ba08fc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 3.14% green and 98.82% blue; printed in CMYK it uses 26.19% cyan, 96.83% magenta, 0% yellow and 1.18% black. Its hue angle is 283.77°, with 97.6% saturation and 50.98% lightness in HSL. It is a cool color, 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.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.89.

Description generated from the measured properties of this color.

Conversions of #ba08fc 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.1764

Readable text 4.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #955cbb ≈ 0.001% of males
Protanopia #006eff ≈ 1.01% of males
Deuteranopia #0077f8 ≈ 1.27% of males
Tritanopia #b15c95 ≈ 0.0001% of males
Protanomaly #6256ff ≈ 1.08% of males
Deuteranomaly #735efa ≈ 4.63% of males
Tritanomaly #b548c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba08fc  rgb(186, 8, 252)  hsl(284, 98%, 51%)  Electric Purple
#4afc08  rgb(74, 252, 8)  hsl(104, 98%, 51%)  Harlequin
#fcba08  rgb(252, 186, 8)  hsl(44, 98%, 51%)  Amber
#08fcba  rgb(8, 252, 186)  hsl(164, 98%, 51%)  Medium Spring Green