#CD12DB

#cd12db ≈ Electric Purple

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

#cd12db 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 85.88% blue; printed in CMYK it uses 6.39% cyan, 91.78% magenta, 0% yellow and 14.12% black. Its hue angle is 295.82°, with 84.81% saturation and 46.47% 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.71:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.62.

Description generated from the measured properties of this color.

Conversions of #cd12db 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.1853

Readable text 4.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a15fa9 ≈ 0.001% of males
Protanopia #006ae0 ≈ 1.01% of males
Deuteranopia #4a7ed7 ≈ 1.27% of males
Tritanopia #d14782 ≈ 0.0001% of males
Protanomaly #8054de ≈ 1.08% of males
Deuteranomaly #9164d9 ≈ 4.63% of males
Tritanomaly #d038ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd12db  rgb(205, 18, 219)  hsl(296, 85%, 46%)  Electric Purple
#20db12  rgb(32, 219, 18)  hsl(116, 85%, 46%)  Lime Green
#dbcd12  rgb(219, 205, 18)  hsl(56, 85%, 46%)  Citrine
#12dbcd  rgb(18, 219, 205)  hsl(176, 85%, 46%)  Turquoise