#CA28FE

#ca28fe ≈ Electric Purple

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

#ca28fe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 15.69% green and 99.61% blue; printed in CMYK it uses 20.47% cyan, 84.25% magenta, 0% yellow and 0.39% black. Its hue angle is 285.42°, with 99.07% saturation and 57.65% 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.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.6.

Description generated from the measured properties of this color.

Conversions of #ca28fe 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.2123

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a267bf ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #1883fa ≈ 1.27% of males
Tritanopia #c66199 ≈ 0.0001% of males
Protanomaly #7660ff ≈ 1.08% of males
Deuteranomaly #876afb ≈ 4.63% of males
Tritanomaly #c750ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca28fe {
  color: #ca28fe;
}
Background
.bg-ca28fe {
  background-color: #ca28fe;
  color: #000000;
}
Border
.border-ca28fe {
  border: 2px solid #ca28fe;
}
CSS variables
:root {
  --color-primary: #ca28fe;
  --color-primary-rgb: 202 40 254;
  --color-primary-hsl: 285 99% 58%;
}
Gradient
.gradient-ca28fe {
  background: linear-gradient(135deg, #ca28fe, #fe28c7);
}
Colored shadow
.shadow-ca28fe {
  box-shadow: 0 8px 24px rgb(202 40 254 / 0.35);
}

Electric Purple
#ca28fe  rgb(202, 40, 254)  hsl(285, 99%, 58%)  Electric Purple
#5cfe28  rgb(92, 254, 40)  hsl(105, 99%, 58%)  Harlequin
#feca28  rgb(254, 202, 40)  hsl(45, 99%, 58%)  Sunglow
#28feca  rgb(40, 254, 202)  hsl(165, 99%, 58%)  Aquamarine