#CC0CD1

#cc0cd1 ≈ Electric Purple

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

#cc0cd1 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.96% blue; printed in CMYK it uses 2.39% cyan, 94.26% magenta, 0% yellow and 18.04% black. Its hue angle is 298.48°, with 89.14% saturation and 43.33% 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.62:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.81.

Description generated from the measured properties of this color.

Conversions of #cc0cd1 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.177

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

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9f5ca2 ≈ 0.001% of males
Protanopia #0067d5 ≈ 1.01% of males
Deuteranopia #507ccd ≈ 1.27% of males
Tritanopia #d23f7b ≈ 0.0001% of males
Protanomaly #8151d4 ≈ 1.08% of males
Deuteranomaly #9262cf ≈ 4.63% of males
Tritanomaly #d032a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cc0cd1  rgb(204, 12, 209)  hsl(298, 89%, 43%)  Electric Purple
#11d10c  rgb(17, 209, 12)  hsl(118, 89%, 43%)  Lime Green
#d1cc0c  rgb(209, 204, 12)  hsl(58, 89%, 43%)  Citrine
#0cd1cc  rgb(12, 209, 204)  hsl(178, 89%, 43%)  Medium Turquoise