#CC04DC

#cc04dc ≈ Electric Purple

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

#cc04dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 1.57% green and 86.27% blue; printed in CMYK it uses 7.27% cyan, 98.18% magenta, 0% yellow and 13.73% black. Its hue angle is 295.56°, with 96.43% saturation and 43.92% 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 4.62:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.31.

Description generated from the measured properties of this color.

Conversions of #cc04dc into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1809

Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a05da9 ≈ 0.001% of males
Protanopia #0069e1 ≈ 1.01% of males
Deuteranopia #457dd8 ≈ 1.27% of males
Tritanopia #d04581 ≈ 0.0001% of males
Protanomaly #7e52df ≈ 1.08% of males
Deuteranomaly #9062da ≈ 4.63% of males
Tritanomaly #ce35ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc04dc {
  color: #cc04dc;
}
Background
.bg-cc04dc {
  background-color: #cc04dc;
  color: #000000;
}
Border
.border-cc04dc {
  border: 2px solid #cc04dc;
}
CSS variables
:root {
  --color-primary: #cc04dc;
  --color-primary-rgb: 204 4 220;
  --color-primary-hsl: 296 96% 44%;
}
Gradient
.gradient-cc04dc {
  background: linear-gradient(135deg, #cc04dc, #dc0480);
}
Colored shadow
.shadow-cc04dc {
  box-shadow: 0 8px 24px rgb(204 4 220 / 0.35);
}

Electric Purple
#cc04dc  rgb(204, 4, 220)  hsl(296, 96%, 44%)  Electric Purple
#14dc04  rgb(20, 220, 4)  hsl(116, 96%, 44%)  Lime Green
#dccc04  rgb(220, 204, 4)  hsl(56, 96%, 44%)  Citrine
#04dccc  rgb(4, 220, 204)  hsl(176, 96%, 44%)  Turquoise