#CD1DE8

#cd1de8 ≈ Electric Purple

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

#cd1de8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 11.37% green and 90.98% blue; printed in CMYK it uses 11.64% cyan, 87.5% magenta, 0% yellow and 9.02% black. Its hue angle is 292.02°, with 81.53% saturation and 51.18% 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.94:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.38.

Description generated from the measured properties of this color.

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

Readable text 4.25:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a262b1 ≈ 0.001% of males
Protanopia #006fed ≈ 1.01% of males
Deuteranopia #4080e4 ≈ 1.27% of males
Tritanopia #cf518b ≈ 0.0001% of males
Protanomaly #7e59eb ≈ 1.08% of males
Deuteranomaly #8f67e6 ≈ 4.63% of males
Tritanomaly #ce42b8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd1de8 {
  color: #cd1de8;
}
Background
.bg-cd1de8 {
  background-color: #cd1de8;
  color: #000000;
}
Border
.border-cd1de8 {
  border: 2px solid #cd1de8;
}
CSS variables
:root {
  --color-primary: #cd1de8;
  --color-primary-rgb: 205 29 232;
  --color-primary-hsl: 292 82% 51%;
}
Gradient
.gradient-cd1de8 {
  background: linear-gradient(135deg, #cd1de8, #e81d9e);
}
Colored shadow
.shadow-cd1de8 {
  box-shadow: 0 8px 24px rgb(205 29 232 / 0.35);
}

Electric Purple
#cd1de8  rgb(205, 29, 232)  hsl(292, 82%, 51%)  Electric Purple
#38e81d  rgb(56, 232, 29)  hsl(112, 82%, 51%)  Lime
#e8cd1d  rgb(232, 205, 29)  hsl(52, 82%, 51%)  Citrine
#1de8cd  rgb(29, 232, 205)  hsl(172, 82%, 51%)  Turquoise