#CF28FA

#cf28fa ≈ Electric Purple

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

#cf28fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 15.69% green and 98.04% blue; printed in CMYK it uses 17.2% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 287.71°, 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.34:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.42.

Description generated from the measured properties of this color.

Conversions of #cf28fa 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.2169

Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #a668be ≈ 0.001% of males
Protanopia #0077ff ≈ 1.01% of males
Deuteranopia #3085f6 ≈ 1.27% of males
Tritanopia #cd5e97 ≈ 0.0001% of males
Protanomaly #7c61fd ≈ 1.08% of males
Deuteranomaly #8d6cf7 ≈ 4.63% of males
Tritanomaly #ce4ec6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cf28fa  rgb(207, 40, 250)  hsl(288, 95%, 57%)  Electric Purple
#53fa28  rgb(83, 250, 40)  hsl(108, 95%, 57%)  Neon Green
#facf28  rgb(250, 207, 40)  hsl(48, 95%, 57%)  Jonquil
#28facf  rgb(40, 250, 207)  hsl(168, 95%, 57%)  Aquamarine