#CC0CD0

#cc0cd0 ≈ Electric Purple

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

#cc0cd0 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 81.57% blue; printed in CMYK it uses 1.92% cyan, 94.23% magenta, 0% yellow and 18.43% black. Its hue angle is 298.78°, with 89.09% saturation and 43.14% 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. White text on this color reaches a contrast ratio of 4.63:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.95.

Description generated from the measured properties of this color.

Conversions of #cc0cd0 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.1765

Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9f5ca1 ≈ 0.001% of males
Protanopia #0067d4 ≈ 1.01% of males
Deuteranopia #507ccc ≈ 1.27% of males
Tritanopia #d23f7b ≈ 0.0001% of males
Protanomaly #8251d3 ≈ 1.08% of males
Deuteranomaly #9362ce ≈ 4.63% of males
Tritanomaly #d031a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc0cd0 {
  color: #cc0cd0;
}
Background
.bg-cc0cd0 {
  background-color: #cc0cd0;
  color: #ffffff;
}
Border
.border-cc0cd0 {
  border: 2px solid #cc0cd0;
}
CSS variables
:root {
  --color-primary: #cc0cd0;
  --color-primary-rgb: 204 12 208;
  --color-primary-hsl: 299 89% 43%;
}
Gradient
.gradient-cc0cd0 {
  background: linear-gradient(135deg, #cc0cd0, #d00c72);
}
Colored shadow
.shadow-cc0cd0 {
  box-shadow: 0 8px 24px rgb(204 12 208 / 0.35);
}

Electric Purple
#cc0cd0  rgb(204, 12, 208)  hsl(299, 89%, 43%)  Electric Purple
#10d00c  rgb(16, 208, 12)  hsl(119, 89%, 43%)  Lime Green
#d0cc0c  rgb(208, 204, 12)  hsl(59, 89%, 43%)  Citrine
#0cd0cc  rgb(12, 208, 204)  hsl(179, 89%, 43%)  Robin Egg Blue