#CD0CEC

#cd0cec ≈ Electric Purple

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

#cd0cec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 4.71% green and 92.55% blue; printed in CMYK it uses 13.14% cyan, 94.92% magenta, 0% yellow and 7.45% black. Its hue angle is 291.7°, with 90.32% saturation and 48.63% 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.86:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.69.

Description generated from the measured properties of this color.

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

Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a260b3 ≈ 0.001% of males
Protanopia #006ef1 ≈ 1.01% of males
Deuteranopia #357fe8 ≈ 1.27% of males
Tritanopia #ce508c ≈ 0.0001% of males
Protanomaly #7b57ef ≈ 1.08% of males
Deuteranomaly #8d65ea ≈ 4.63% of males
Tritanomaly #ce3fba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd0cec {
  color: #cd0cec;
}
Background
.bg-cd0cec {
  background-color: #cd0cec;
  color: #000000;
}
Border
.border-cd0cec {
  border: 2px solid #cd0cec;
}
CSS variables
:root {
  --color-primary: #cd0cec;
  --color-primary-rgb: 205 12 236;
  --color-primary-hsl: 292 90% 49%;
}
Gradient
.gradient-cd0cec {
  background: linear-gradient(135deg, #cd0cec, #ec0c9b);
}
Colored shadow
.shadow-cd0cec {
  box-shadow: 0 8px 24px rgb(205 12 236 / 0.35);
}

Electric Purple
#cd0cec  rgb(205, 12, 236)  hsl(292, 90%, 49%)  Electric Purple
#2bec0c  rgb(43, 236, 12)  hsl(112, 90%, 49%)  Lime
#eccd0c  rgb(236, 205, 12)  hsl(52, 90%, 49%)  Citrine
#0ceccd  rgb(12, 236, 205)  hsl(172, 90%, 49%)  Turquoise