#C728FA

#c728fa ≈ Electric Purple

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

#c728fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 78.04% red, 15.69% green and 98.04% blue; printed in CMYK it uses 20.4% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 285.43°, with 95.45% saturation and 56.86% 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. Black text on this color reaches a contrast ratio of 5.11:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.06.

Description generated from the measured properties of this color.

Conversions of #c728fa 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.2056

Readable text 4.11:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.11:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a066bc ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #1a81f6 ≈ 1.27% of males
Tritanopia #c36097 ≈ 0.0001% of males
Protanomaly #755ffd ≈ 1.08% of males
Deuteranomaly #8569f8 ≈ 4.63% of males
Tritanomaly #c44fc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#c728fa  rgb(199, 40, 250)  hsl(285, 95%, 57%)  Electric Purple
#5bfa28  rgb(91, 250, 40)  hsl(105, 95%, 57%)  Harlequin
#fac728  rgb(250, 199, 40)  hsl(45, 95%, 57%)  Sunglow
#28fac7  rgb(40, 250, 199)  hsl(165, 95%, 57%)  Aquamarine