#CD08DC

#cd08dc ≈ Electric Purple

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

#cd08dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 3.14% green and 86.27% blue; printed in CMYK it uses 6.82% cyan, 96.36% magenta, 0% yellow and 13.73% black. Its hue angle is 295.75°, with 92.98% saturation and 44.71% 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 5.43.

Description generated from the measured properties of this color.

Conversions of #cd08dc 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 #a15ea9 ≈ 0.001% of males
Protanopia #006ae1 ≈ 1.01% of males
Deuteranopia #477dd8 ≈ 1.27% of males
Tritanopia #d14582 ≈ 0.0001% of males
Protanomaly #7f53df ≈ 1.08% of males
Deuteranomaly #9163da ≈ 4.63% of males
Tritanomaly #cf36ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd08dc  rgb(205, 8, 220)  hsl(296, 93%, 45%)  Electric Purple
#17dc08  rgb(23, 220, 8)  hsl(116, 93%, 45%)  Lime Green
#dccd08  rgb(220, 205, 8)  hsl(56, 93%, 45%)  Citrine
#08dccd  rgb(8, 220, 205)  hsl(176, 93%, 45%)  Turquoise