#CC2FFE

#cc2ffe ≈ Electric Purple

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

#cc2ffe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 18.43% green and 99.61% blue; printed in CMYK it uses 19.69% cyan, 81.5% magenta, 0% yellow and 0.39% black. Its hue angle is 285.51°, with 99.04% saturation and 59.02% 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.41:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.49.

Description generated from the measured properties of this color.

Conversions of #cc2ffe 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.2203

Readable text 3.89:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a46ac0 ≈ 0.001% of males
Protanopia #0079ff ≈ 1.01% of males
Deuteranopia #2785fa ≈ 1.27% of males
Tritanopia #c8639a ≈ 0.0001% of males
Protanomaly #7963ff ≈ 1.08% of males
Deuteranomaly #8a6dfb ≈ 4.63% of males
Tritanomaly #ca53ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc2ffe {
  color: #cc2ffe;
}
Background
.bg-cc2ffe {
  background-color: #cc2ffe;
  color: #000000;
}
Border
.border-cc2ffe {
  border: 2px solid #cc2ffe;
}
CSS variables
:root {
  --color-primary: #cc2ffe;
  --color-primary-rgb: 204 47 254;
  --color-primary-hsl: 286 99% 59%;
}
Gradient
.gradient-cc2ffe {
  background: linear-gradient(135deg, #cc2ffe, #fe2fc8);
}
Colored shadow
.shadow-cc2ffe {
  box-shadow: 0 8px 24px rgb(204 47 254 / 0.35);
}

Electric Purple
#cc2ffe  rgb(204, 47, 254)  hsl(286, 99%, 59%)  Electric Purple
#61fe2f  rgb(97, 254, 47)  hsl(106, 99%, 59%)  Harlequin
#fecc2f  rgb(254, 204, 47)  hsl(46, 99%, 59%)  Sunglow
#2ffecc  rgb(47, 254, 204)  hsl(166, 99%, 59%)  Aquamarine