#CD12EB

#cd12eb ≈ Electric Purple

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

#cd12eb 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.16% blue; printed in CMYK it uses 12.77% cyan, 92.34% magenta, 0% yellow and 7.84% black. Its hue angle is 291.71°, with 85.77% saturation and 49.61% 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.86.

Description generated from the measured properties of this color.

Conversions of #cd12eb 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.1941

Readable text 4.3: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 #a261b3 ≈ 0.001% of males
Protanopia #006ef0 ≈ 1.01% of males
Deuteranopia #3880e7 ≈ 1.27% of males
Tritanopia #ce508b ≈ 0.0001% of males
Protanomaly #7c58ee ≈ 1.08% of males
Deuteranomaly #8d65e9 ≈ 4.63% of males
Tritanomaly #ce40b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd12eb  rgb(205, 18, 235)  hsl(292, 86%, 50%)  Electric Purple
#30eb12  rgb(48, 235, 18)  hsl(112, 86%, 50%)  Lime
#ebcd12  rgb(235, 205, 18)  hsl(52, 86%, 50%)  Citrine
#12ebcd  rgb(18, 235, 205)  hsl(172, 86%, 50%)  Turquoise