#BA28FC

#ba28fc ≈ Electric Purple

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

#ba28fc 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.69% green and 98.82% blue; printed in CMYK it uses 26.19% cyan, 84.13% magenta, 0% yellow and 1.18% black. Its hue angle is 281.32°, with 97.25% saturation and 57.25% 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.8:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.57.

Description generated from the measured properties of this color.

Conversions of #ba28fc 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.1898

Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 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 #b552c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba28fc  rgb(186, 40, 252)  hsl(281, 97%, 57%)  Electric Purple
#6afc28  rgb(106, 252, 40)  hsl(101, 97%, 57%)  Harlequin
#fcba28  rgb(252, 186, 40)  hsl(41, 97%, 57%)  Amber
#28fcba  rgb(40, 252, 186)  hsl(161, 97%, 57%)  Medium Spring Green