#CD2DEC

#cd2dec ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#cd2dec is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 17.65% green and 92.55% blue; printed in CMYK it uses 13.14% cyan, 80.93% magenta, 0% yellow and 7.45% black. Its hue angle is 290.26°, with 83.41% saturation and 55.1% 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 5.18:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.85.

Description generated from the measured properties of this color.

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

Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a467b5 ≈ 0.001% of males
Protanopia #0074f1 ≈ 1.01% of males
Deuteranopia #4383e8 ≈ 1.27% of males
Tritanopia #ce598f ≈ 0.0001% of males
Protanomaly #7f5fef ≈ 1.08% of males
Deuteranomaly #906bea ≈ 4.63% of males
Tritanomaly #cd4bbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd2dec {
  color: #cd2dec;
}
Background
.bg-cd2dec {
  background-color: #cd2dec;
  color: #000000;
}
Border
.border-cd2dec {
  border: 2px solid #cd2dec;
}
CSS variables
:root {
  --color-primary: #cd2dec;
  --color-primary-rgb: 205 45 236;
  --color-primary-hsl: 290 83% 55%;
}
Gradient
.gradient-cd2dec {
  background: linear-gradient(135deg, #cd2dec, #ec2dac);
}
Colored shadow
.shadow-cd2dec {
  box-shadow: 0 8px 24px rgb(205 45 236 / 0.35);
}

Electric Purple
#cd2dec  rgb(205, 45, 236)  hsl(290, 83%, 55%)  Electric Purple
#4cec2d  rgb(76, 236, 45)  hsl(110, 83%, 55%)  Neon Green
#eccd2d  rgb(236, 205, 45)  hsl(50, 83%, 55%)  Jonquil
#2deccd  rgb(45, 236, 205)  hsl(170, 83%, 55%)  Turquoise