#CD0CE2

#cd0ce2 ≈ Electric Purple

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

#cd0ce2 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 88.63% blue; printed in CMYK it uses 9.29% cyan, 94.69% magenta, 0% yellow and 11.37% black. Its hue angle is 294.11°, with 89.92% saturation and 46.67% 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.75:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.72.

Description generated from the measured properties of this color.

Conversions of #cd0ce2 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.1873

Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #a15fad ≈ 0.001% of males
Protanopia #006be7 ≈ 1.01% of males
Deuteranopia #427ede ≈ 1.27% of males
Tritanopia #d04a86 ≈ 0.0001% of males
Protanomaly #7e55e5 ≈ 1.08% of males
Deuteranomaly #8f64e0 ≈ 4.63% of males
Tritanomaly #cf3ab2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd0ce2  rgb(205, 12, 226)  hsl(294, 90%, 47%)  Electric Purple
#21e20c  rgb(33, 226, 12)  hsl(114, 90%, 47%)  Lime Green
#e2cd0c  rgb(226, 205, 12)  hsl(54, 90%, 47%)  Citrine
#0ce2cd  rgb(12, 226, 205)  hsl(174, 90%, 47%)  Turquoise