#CD08CD

#cd08cd ≈ Electric Purple

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

#cd08cd 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 80.39% blue; printed in CMYK it uses 0% cyan, 96.1% magenta, 0% yellow and 19.61% black. Its hue angle is 300°, with 92.49% saturation and 41.76% 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. White text on this color reaches a contrast ratio of 4.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.45.

Description generated from the measured properties of this color.

Conversions of #cd08cd 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.1756

Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #a05ca0 ≈ 0.001% of males
Protanopia #0066d1 ≈ 1.01% of males
Deuteranopia #537cc9 ≈ 1.27% of males
Tritanopia #d43c79 ≈ 0.0001% of males
Protanomaly #8350d0 ≈ 1.08% of males
Deuteranomaly #9462cb ≈ 4.63% of males
Tritanomaly #d12ea1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd08cd {
  color: #cd08cd;
}
Background
.bg-cd08cd {
  background-color: #cd08cd;
  color: #ffffff;
}
Border
.border-cd08cd {
  border: 2px solid #cd08cd;
}
CSS variables
:root {
  --color-primary: #cd08cd;
  --color-primary-rgb: 205 8 205;
  --color-primary-hsl: 300 92% 42%;
}
Gradient
.gradient-cd08cd {
  background: linear-gradient(135deg, #cd08cd, #cd086a);
}
Colored shadow
.shadow-cd08cd {
  box-shadow: 0 8px 24px rgb(205 8 205 / 0.35);
}

Electric Purple
#cd08cd  rgb(205, 8, 205)  hsl(300, 92%, 42%)  Electric Purple
#08cd08  rgb(8, 205, 8)  hsl(120, 92%, 42%)  Lime Green
#cdcd08  rgb(205, 205, 8)  hsl(60, 92%, 42%)  Citrine
#08cdcd  rgb(8, 205, 205)  hsl(180, 92%, 42%)  Robin Egg Blue