#CD0CD2

#cd0cd2 ≈ Electric Purple

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

#cd0cd2 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 82.35% blue; printed in CMYK it uses 2.38% cyan, 94.29% magenta, 0% yellow and 17.65% black. Its hue angle is 298.48°, with 89.19% saturation and 43.53% 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.59:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.76.

Description generated from the measured properties of this color.

Conversions of #cd0cd2 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.179

Readable text 4.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #a05da3 ≈ 0.001% of males
Protanopia #0067d6 ≈ 1.01% of males
Deuteranopia #507dce ≈ 1.27% of males
Tritanopia #d3407c ≈ 0.0001% of males
Protanomaly #8252d5 ≈ 1.08% of males
Deuteranomaly #9363d0 ≈ 4.63% of males
Tritanomaly #d132a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd0cd2  rgb(205, 12, 210)  hsl(298, 89%, 44%)  Electric Purple
#11d20c  rgb(17, 210, 12)  hsl(118, 89%, 44%)  Lime Green
#d2cd0c  rgb(210, 205, 12)  hsl(58, 89%, 44%)  Citrine
#0cd2cd  rgb(12, 210, 205)  hsl(178, 89%, 44%)  Medium Turquoise