#C40DDC

#c40ddc ≈ Electric Purple

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

#c40ddc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.86% red, 5.1% green and 86.27% blue; printed in CMYK it uses 10.91% cyan, 94.09% magenta, 0% yellow and 13.73% black. Its hue angle is 293.04°, with 88.84% saturation and 45.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. White text on this color reaches a contrast ratio of 4.73:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.73.

Description generated from the measured properties of this color.

Conversions of #c40ddc 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.1719

Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #9a5ba8 ≈ 0.001% of males
Protanopia #0068e1 ≈ 1.01% of males
Deuteranopia #3b79d8 ≈ 1.27% of males
Tritanopia #c64982 ≈ 0.0001% of males
Protanomaly #7752df ≈ 1.08% of males
Deuteranomaly #8860da ≈ 4.63% of males
Tritanomaly #c539ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c40ddc {
  color: #c40ddc;
}
Background
.bg-c40ddc {
  background-color: #c40ddc;
  color: #ffffff;
}
Border
.border-c40ddc {
  border: 2px solid #c40ddc;
}
CSS variables
:root {
  --color-primary: #c40ddc;
  --color-primary-rgb: 196 13 220;
  --color-primary-hsl: 293 89% 46%;
}
Gradient
.gradient-c40ddc {
  background: linear-gradient(135deg, #c40ddc, #dc0d8d);
}
Colored shadow
.shadow-c40ddc {
  box-shadow: 0 8px 24px rgb(196 13 220 / 0.35);
}

Electric Purple
#c40ddc  rgb(196, 13, 220)  hsl(293, 89%, 46%)  Electric Purple
#25dc0d  rgb(37, 220, 13)  hsl(113, 89%, 46%)  Lime Green
#dcc40d  rgb(220, 196, 13)  hsl(53, 89%, 46%)  Citrine
#0ddcc4  rgb(13, 220, 196)  hsl(173, 89%, 46%)  Turquoise