#CD12ED

#cd12ed ≈ Electric Purple

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

#cd12ed is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 7.06% green and 92.94% blue; printed in CMYK it uses 13.5% cyan, 92.41% magenta, 0% yellow and 7.06% black. Its hue angle is 291.23°, with 85.88% saturation and 50% 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.91:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.69.

Description generated from the measured properties of this color.

Conversions of #cd12ed 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.1953

Readable text 4.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a261b4 ≈ 0.001% of males
Protanopia #006ff2 ≈ 1.01% of males
Deuteranopia #3680e9 ≈ 1.27% of males
Tritanopia #ce518d ≈ 0.0001% of males
Protanomaly #7b58f0 ≈ 1.08% of males
Deuteranomaly #8d66eb ≈ 4.63% of males
Tritanomaly #cd41bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd12ed {
  color: #cd12ed;
}
Background
.bg-cd12ed {
  background-color: #cd12ed;
  color: #000000;
}
Border
.border-cd12ed {
  border: 2px solid #cd12ed;
}
CSS variables
:root {
  --color-primary: #cd12ed;
  --color-primary-rgb: 205 18 237;
  --color-primary-hsl: 291 86% 50%;
}
Gradient
.gradient-cd12ed {
  background: linear-gradient(135deg, #cd12ed, #ed12a0);
}
Colored shadow
.shadow-cd12ed {
  box-shadow: 0 8px 24px rgb(205 18 237 / 0.35);
}

Electric Purple
#cd12ed  rgb(205, 18, 237)  hsl(291, 86%, 50%)  Electric Purple
#32ed12  rgb(50, 237, 18)  hsl(111, 86%, 50%)  Lime
#edcd12  rgb(237, 205, 18)  hsl(51, 86%, 50%)  Jonquil
#12edcd  rgb(18, 237, 205)  hsl(171, 86%, 50%)  Turquoise