#CC2CEF

#cc2cef ≈ Electric Purple

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

#cc2cef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 17.25% green and 93.73% blue; printed in CMYK it uses 14.64% cyan, 81.59% magenta, 0% yellow and 6.27% black. Its hue angle is 289.23°, with 85.9% saturation and 55.49% 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.17: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 #cc2cef 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.2087

Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a367b6 ≈ 0.001% of males
Protanopia #0074f4 ≈ 1.01% of males
Deuteranopia #3d83eb ≈ 1.27% of males
Tritanopia #cc5b91 ≈ 0.0001% of males
Protanomaly #7d5ff2 ≈ 1.08% of males
Deuteranomaly #8e6bed ≈ 4.63% of males
Tritanomaly #cc4cbe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc2cef {
  color: #cc2cef;
}
Background
.bg-cc2cef {
  background-color: #cc2cef;
  color: #000000;
}
Border
.border-cc2cef {
  border: 2px solid #cc2cef;
}
CSS variables
:root {
  --color-primary: #cc2cef;
  --color-primary-rgb: 204 44 239;
  --color-primary-hsl: 289 86% 55%;
}
Gradient
.gradient-cc2cef {
  background: linear-gradient(135deg, #cc2cef, #ef2cb1);
}
Colored shadow
.shadow-cc2cef {
  box-shadow: 0 8px 24px rgb(204 44 239 / 0.35);
}

Electric Purple
#cc2cef  rgb(204, 44, 239)  hsl(289, 86%, 55%)  Electric Purple
#4fef2c  rgb(79, 239, 44)  hsl(109, 86%, 55%)  Neon Green
#efcc2c  rgb(239, 204, 44)  hsl(49, 86%, 55%)  Jonquil
#2cefcc  rgb(44, 239, 204)  hsl(169, 86%, 55%)  Aquamarine