#CC2FFC

#cc2ffc ≈ Electric Purple

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

#cc2ffc 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 98.82% blue; printed in CMYK it uses 19.05% cyan, 81.35% magenta, 0% yellow and 1.18% black. Its hue angle is 285.95°, with 97.16% saturation and 58.63% 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.38:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.46.

Description generated from the measured properties of this color.

Conversions of #cc2ffc 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.219

Readable text 3.9:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.38:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a46abf ≈ 0.001% of males
Protanopia #0078ff ≈ 1.01% of males
Deuteranopia #2b85f8 ≈ 1.27% of males
Tritanopia #c96299 ≈ 0.0001% of males
Protanomaly #7a63ff ≈ 1.08% of males
Deuteranomaly #8a6dfa ≈ 4.63% of males
Tritanomaly #ca52c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cc2ffc  rgb(204, 47, 252)  hsl(286, 97%, 59%)  Electric Purple
#5ffc2f  rgb(95, 252, 47)  hsl(106, 97%, 59%)  Harlequin
#fccc2f  rgb(252, 204, 47)  hsl(46, 97%, 59%)  Sunglow
#2ffccc  rgb(47, 252, 204)  hsl(166, 97%, 59%)  Aquamarine