#CD0FEC

#cd0fec ≈ Electric Purple

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

#cd0fec 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.88% green and 92.55% blue; printed in CMYK it uses 13.14% cyan, 93.64% magenta, 0% yellow and 7.45% black. Its hue angle is 291.58°, with 88.05% saturation and 49.22% 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.88:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.73.

Description generated from the measured properties of this color.

Conversions of #cd0fec 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.1938

Readable text 4.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.88: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 #7c57ef ≈ 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-cd0fec {
  color: #cd0fec;
}
Background
.bg-cd0fec {
  background-color: #cd0fec;
  color: #000000;
}
Border
.border-cd0fec {
  border: 2px solid #cd0fec;
}
CSS variables
:root {
  --color-primary: #cd0fec;
  --color-primary-rgb: 205 15 236;
  --color-primary-hsl: 292 88% 49%;
}
Gradient
.gradient-cd0fec {
  background: linear-gradient(135deg, #cd0fec, #ec0f9d);
}
Colored shadow
.shadow-cd0fec {
  box-shadow: 0 8px 24px rgb(205 15 236 / 0.35);
}

Electric Purple
#cd0fec  rgb(205, 15, 236)  hsl(292, 88%, 49%)  Electric Purple
#2eec0f  rgb(46, 236, 15)  hsl(112, 88%, 49%)  Lime
#eccd0f  rgb(236, 205, 15)  hsl(52, 88%, 49%)  Citrine
#0feccd  rgb(15, 236, 205)  hsl(172, 88%, 49%)  Turquoise