#CC2FF4

#cc2ff4 ≈ Electric Purple

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

#cc2ff4 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 95.69% blue; printed in CMYK it uses 16.39% cyan, 80.74% magenta, 0% yellow and 4.31% black. Its hue angle is 287.82°, with 89.95% saturation and 57.06% 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.28:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.51.

Description generated from the measured properties of this color.

Conversions of #cc2ff4 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.214

Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a468ba ≈ 0.001% of males
Protanopia #0076f9 ≈ 1.01% of males
Deuteranopia #3884f0 ≈ 1.27% of males
Tritanopia #cb5e94 ≈ 0.0001% of males
Protanomaly #7d61f7 ≈ 1.08% of males
Deuteranomaly #8d6cf2 ≈ 4.63% of males
Tritanomaly #cb4fc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc2ff4 {
  color: #cc2ff4;
}
Background
.bg-cc2ff4 {
  background-color: #cc2ff4;
  color: #000000;
}
Border
.border-cc2ff4 {
  border: 2px solid #cc2ff4;
}
CSS variables
:root {
  --color-primary: #cc2ff4;
  --color-primary-rgb: 204 47 244;
  --color-primary-hsl: 288 90% 57%;
}
Gradient
.gradient-cc2ff4 {
  background: linear-gradient(135deg, #cc2ff4, #f42fb9);
}
Colored shadow
.shadow-cc2ff4 {
  box-shadow: 0 8px 24px rgb(204 47 244 / 0.35);
}

Electric Purple
#cc2ff4  rgb(204, 47, 244)  hsl(288, 90%, 57%)  Electric Purple
#57f42f  rgb(87, 244, 47)  hsl(108, 90%, 57%)  Neon Green
#f4cc2f  rgb(244, 204, 47)  hsl(48, 90%, 57%)  Jonquil
#2ff4cc  rgb(47, 244, 204)  hsl(168, 90%, 57%)  Aquamarine