#CD12D7

#cd12d7 ≈ Electric Purple

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

#cd12d7 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 84.31% blue; printed in CMYK it uses 4.65% cyan, 91.63% magenta, 0% yellow and 15.69% black. Its hue angle is 296.95°, with 84.55% saturation and 45.69% 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.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.13.

Description generated from the measured properties of this color.

Conversions of #cd12d7 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1832

Readable text 4.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a15ea6 ≈ 0.001% of males
Protanopia #0069dc ≈ 1.01% of males
Deuteranopia #4d7ed3 ≈ 1.27% of males
Tritanopia #d2447f ≈ 0.0001% of males
Protanomaly #8154da ≈ 1.08% of males
Deuteranomaly #9264d5 ≈ 4.63% of males
Tritanomaly #d036aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd12d7 {
  color: #cd12d7;
}
Background
.bg-cd12d7 {
  background-color: #cd12d7;
  color: #000000;
}
Border
.border-cd12d7 {
  border: 2px solid #cd12d7;
}
CSS variables
:root {
  --color-primary: #cd12d7;
  --color-primary-rgb: 205 18 215;
  --color-primary-hsl: 297 85% 46%;
}
Gradient
.gradient-cd12d7 {
  background: linear-gradient(135deg, #cd12d7, #d7127f);
}
Colored shadow
.shadow-cd12d7 {
  box-shadow: 0 8px 24px rgb(205 18 215 / 0.35);
}

Electric Purple
#cd12d7  rgb(205, 18, 215)  hsl(297, 85%, 46%)  Electric Purple
#1cd712  rgb(28, 215, 18)  hsl(117, 85%, 46%)  Lime Green
#d7cd12  rgb(215, 205, 18)  hsl(57, 85%, 46%)  Citrine
#12d7cd  rgb(18, 215, 205)  hsl(177, 85%, 46%)  Medium Turquoise