#CD0CEA

#cd0cea ≈ Electric Purple

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

#cd0cea 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 91.76% blue; printed in CMYK it uses 12.39% cyan, 94.87% magenta, 0% yellow and 8.24% black. Its hue angle is 292.16°, with 90.24% saturation and 48.24% 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.84:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.87.

Description generated from the measured properties of this color.

Conversions of #cd0cea 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.1918

Readable text 4.34:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #a260b2 ≈ 0.001% of males
Protanopia #006eef ≈ 1.01% of males
Deuteranopia #387fe6 ≈ 1.27% of males
Tritanopia #ce4e8a ≈ 0.0001% of males
Protanomaly #7c56ed ≈ 1.08% of males
Deuteranomaly #8d65e8 ≈ 4.63% of males
Tritanomaly #ce3eb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd0cea  rgb(205, 12, 234)  hsl(292, 90%, 48%)  Electric Purple
#29ea0c  rgb(41, 234, 12)  hsl(112, 90%, 48%)  Lime
#eacd0c  rgb(234, 205, 12)  hsl(52, 90%, 48%)  Citrine
#0ceacd  rgb(12, 234, 205)  hsl(172, 90%, 48%)  Turquoise