#BA27FC

#ba27fc ≈ Electric Purple

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

#ba27fc 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.82% blue; printed in CMYK it uses 26.19% cyan, 84.52% magenta, 0% yellow and 1.18% black. Its hue angle is 281.41°, with 97.26% saturation and 57.06% 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.78:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.49.

Description generated from the measured properties of this color.

Conversions of #ba27fc 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.1892

Readable text 4.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9762bc ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #007bf8 ≈ 1.27% of males
Tritanopia #b16398 ≈ 0.0001% of males
Protanomaly #675dff ≈ 1.08% of males
Deuteranomaly #7664fa ≈ 4.63% of males
Tritanomaly #b551c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba27fc  rgb(186, 39, 252)  hsl(281, 97%, 57%)  Electric Purple
#69fc27  rgb(105, 252, 39)  hsl(101, 97%, 57%)  Harlequin
#fcba27  rgb(252, 186, 39)  hsl(41, 97%, 57%)  Amber
#27fcba  rgb(39, 252, 186)  hsl(161, 97%, 57%)  Medium Spring Green