#CC0CDC

#cc0cdc ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #cc0cdc 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.1827

Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a05ea9 ≈ 0.001% of males
Protanopia #006ae1 ≈ 1.01% of males
Deuteranopia #467dd8 ≈ 1.27% of males
Tritanopia #d04682 ≈ 0.0001% of males
Protanomaly #7f53df ≈ 1.08% of males
Deuteranomaly #9063da ≈ 4.63% of males
Tritanomaly #ce37ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc0cdc {
  color: #cc0cdc;
}
Background
.bg-cc0cdc {
  background-color: #cc0cdc;
  color: #000000;
}
Border
.border-cc0cdc {
  border: 2px solid #cc0cdc;
}
CSS variables
:root {
  --color-primary: #cc0cdc;
  --color-primary-rgb: 204 12 220;
  --color-primary-hsl: 295 90% 45%;
}
Gradient
.gradient-cc0cdc {
  background: linear-gradient(135deg, #cc0cdc, #dc0c84);
}
Colored shadow
.shadow-cc0cdc {
  box-shadow: 0 8px 24px rgb(204 12 220 / 0.35);
}

Electric Purple
#cc0cdc  rgb(204, 12, 220)  hsl(295, 90%, 45%)  Electric Purple
#1cdc0c  rgb(28, 220, 12)  hsl(115, 90%, 45%)  Lime Green
#dccc0c  rgb(220, 204, 12)  hsl(55, 90%, 45%)  Citrine
#0cdccc  rgb(12, 220, 204)  hsl(175, 90%, 45%)  Turquoise