#BA27FA

#ba27fa ≈ Electric Purple

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

#ba27fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 15.29% green and 98.04% blue; printed in CMYK it uses 25.6% cyan, 84.4% magenta, 0% yellow and 1.96% black. Its hue angle is 281.8°, with 95.48% saturation and 56.67% 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. Black text on this color reaches a contrast ratio of 4.76:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.46.

Description generated from the measured properties of this color.

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

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

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9762bb ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #007bf6 ≈ 1.27% of males
Tritanopia #b26296 ≈ 0.0001% of males
Protanomaly #675dfd ≈ 1.08% of males
Deuteranomaly #7763f8 ≈ 4.63% of males
Tritanomaly #b550c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba27fa {
  color: #ba27fa;
}
Background
.bg-ba27fa {
  background-color: #ba27fa;
  color: #000000;
}
Border
.border-ba27fa {
  border: 2px solid #ba27fa;
}
CSS variables
:root {
  --color-primary: #ba27fa;
  --color-primary-rgb: 186 39 250;
  --color-primary-hsl: 282 95% 57%;
}
Gradient
.gradient-ba27fa {
  background: linear-gradient(135deg, #ba27fa, #fa27d1);
}
Colored shadow
.shadow-ba27fa {
  box-shadow: 0 8px 24px rgb(186 39 250 / 0.35);
}

Electric Purple
#ba27fa  rgb(186, 39, 250)  hsl(282, 95%, 57%)  Electric Purple
#67fa27  rgb(103, 250, 39)  hsl(102, 95%, 57%)  Harlequin
#faba27  rgb(250, 186, 39)  hsl(42, 95%, 57%)  Amber
#27faba  rgb(39, 250, 186)  hsl(162, 95%, 57%)  Medium Spring Green