#CD2DEF

#cd2def ≈ Electric Purple

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

#cd2def is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 17.65% green and 93.73% blue; printed in CMYK it uses 14.23% cyan, 81.17% magenta, 0% yellow and 6.27% black. Its hue angle is 289.48°, with 85.84% saturation and 55.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 5.22:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.7.

Description generated from the measured properties of this color.

Conversions of #cd2def 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.2109

Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a467b7 ≈ 0.001% of males
Protanopia #0074f4 ≈ 1.01% of males
Deuteranopia #3f84eb ≈ 1.27% of males
Tritanopia #cd5b91 ≈ 0.0001% of males
Protanomaly #7f60f2 ≈ 1.08% of males
Deuteranomaly #8f6bed ≈ 4.63% of males
Tritanomaly #cd4cbe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd2def  rgb(205, 45, 239)  hsl(289, 86%, 56%)  Electric Purple
#4fef2d  rgb(79, 239, 45)  hsl(109, 86%, 56%)  Neon Green
#efcd2d  rgb(239, 205, 45)  hsl(49, 86%, 56%)  Jonquil
#2defcd  rgb(45, 239, 205)  hsl(169, 86%, 56%)  Turquoise