#CD0DEC

#cd0dec ≈ Electric Purple

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

#cd0dec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 5.1% green and 92.55% blue; printed in CMYK it uses 13.14% cyan, 94.49% magenta, 0% yellow and 7.45% black. Its hue angle is 291.66°, with 89.56% saturation and 48.82% 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.7.

Description generated from the measured properties of this color.

Conversions of #cd0dec 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.1932

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 #367fe8 ≈ 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-cd0dec {
  color: #cd0dec;
}
Background
.bg-cd0dec {
  background-color: #cd0dec;
  color: #000000;
}
Border
.border-cd0dec {
  border: 2px solid #cd0dec;
}
CSS variables
:root {
  --color-primary: #cd0dec;
  --color-primary-rgb: 205 13 236;
  --color-primary-hsl: 292 90% 49%;
}
Gradient
.gradient-cd0dec {
  background: linear-gradient(135deg, #cd0dec, #ec0d9b);
}
Colored shadow
.shadow-cd0dec {
  box-shadow: 0 8px 24px rgb(205 13 236 / 0.35);
}

Electric Purple
#cd0dec  rgb(205, 13, 236)  hsl(292, 90%, 49%)  Electric Purple
#2cec0d  rgb(44, 236, 13)  hsl(112, 90%, 49%)  Lime
#eccd0d  rgb(236, 205, 13)  hsl(52, 90%, 49%)  Citrine
#0deccd  rgb(13, 236, 205)  hsl(172, 90%, 49%)  Turquoise