#CC2DFA

#cc2dfa ≈ Electric Purple

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

#cc2dfa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 17.65% green and 98.04% blue; printed in CMYK it uses 18.4% cyan, 82% magenta, 0% yellow and 1.96% black. Its hue angle is 286.54°, with 95.35% saturation and 57.84% 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.32:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.28.

Description generated from the measured properties of this color.

Conversions of #cc2dfa 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.2162

Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #a469be ≈ 0.001% of males
Protanopia #0077ff ≈ 1.01% of males
Deuteranopia #2d84f6 ≈ 1.27% of males
Tritanopia #c96097 ≈ 0.0001% of males
Protanomaly #7a62fd ≈ 1.08% of males
Deuteranomaly #8b6cf8 ≈ 4.63% of males
Tritanomaly #ca51c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc2dfa {
  color: #cc2dfa;
}
Background
.bg-cc2dfa {
  background-color: #cc2dfa;
  color: #000000;
}
Border
.border-cc2dfa {
  border: 2px solid #cc2dfa;
}
CSS variables
:root {
  --color-primary: #cc2dfa;
  --color-primary-rgb: 204 45 250;
  --color-primary-hsl: 287 95% 58%;
}
Gradient
.gradient-cc2dfa {
  background: linear-gradient(135deg, #cc2dfa, #fa2dc1);
}
Colored shadow
.shadow-cc2dfa {
  box-shadow: 0 8px 24px rgb(204 45 250 / 0.35);
}

Electric Purple
#cc2dfa  rgb(204, 45, 250)  hsl(287, 95%, 58%)  Electric Purple
#5bfa2d  rgb(91, 250, 45)  hsl(107, 95%, 58%)  Neon Green
#facc2d  rgb(250, 204, 45)  hsl(47, 95%, 58%)  Sunglow
#2dfacc  rgb(45, 250, 204)  hsl(167, 95%, 58%)  Aquamarine