#C40BD2

#c40bd2 ≈ Electric Purple

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

#c40bd2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.86% red, 4.31% green and 82.35% blue; printed in CMYK it uses 6.67% cyan, 94.76% magenta, 0% yellow and 17.65% black. Its hue angle is 295.78°, with 90.05% saturation and 43.33% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.16.

Description generated from the measured properties of this color.

Conversions of #c40bd2 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.1663

Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #995aa1 ≈ 0.001% of males
Protanopia #0065d6 ≈ 1.01% of males
Deuteranopia #4578ce ≈ 1.27% of males
Tritanopia #c8427c ≈ 0.0001% of males
Protanomaly #7a50d5 ≈ 1.08% of males
Deuteranomaly #8a5fd0 ≈ 4.63% of males
Tritanomaly #c634a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c40bd2 {
  color: #c40bd2;
}
Background
.bg-c40bd2 {
  background-color: #c40bd2;
  color: #ffffff;
}
Border
.border-c40bd2 {
  border: 2px solid #c40bd2;
}
CSS variables
:root {
  --color-primary: #c40bd2;
  --color-primary-rgb: 196 11 210;
  --color-primary-hsl: 296 90% 43%;
}
Gradient
.gradient-c40bd2 {
  background: linear-gradient(135deg, #c40bd2, #d20b7c);
}
Colored shadow
.shadow-c40bd2 {
  box-shadow: 0 8px 24px rgb(196 11 210 / 0.35);
}

Electric Purple
#c40bd2  rgb(196, 11, 210)  hsl(296, 90%, 43%)  Electric Purple
#19d20b  rgb(25, 210, 11)  hsl(116, 90%, 43%)  Lime Green
#d2c40b  rgb(210, 196, 11)  hsl(56, 90%, 43%)  Citrine
#0bd2c4  rgb(11, 210, 196)  hsl(176, 90%, 43%)  Turquoise