#C511D2

#c511d2 ≈ Electric Purple

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

#c511d2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 77.25% red, 6.67% green and 82.35% blue; printed in CMYK it uses 6.19% cyan, 91.9% magenta, 0% yellow and 17.65% black. Its hue angle is 295.96°, with 85.02% saturation and 44.51% 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.79:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.19.

Description generated from the measured properties of this color.

Conversions of #c511d2 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.1692

Readable text 4.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #9a5ba2 ≈ 0.001% of males
Protanopia #0066d6 ≈ 1.01% of males
Deuteranopia #4779ce ≈ 1.27% of males
Tritanopia #c9437c ≈ 0.0001% of males
Protanomaly #7b51d5 ≈ 1.08% of males
Deuteranomaly #8c60d0 ≈ 4.63% of males
Tritanomaly #c835a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c511d2 {
  color: #c511d2;
}
Background
.bg-c511d2 {
  background-color: #c511d2;
  color: #ffffff;
}
Border
.border-c511d2 {
  border: 2px solid #c511d2;
}
CSS variables
:root {
  --color-primary: #c511d2;
  --color-primary-rgb: 197 17 210;
  --color-primary-hsl: 296 85% 45%;
}
Gradient
.gradient-c511d2 {
  background: linear-gradient(135deg, #c511d2, #d2117e);
}
Colored shadow
.shadow-c511d2 {
  box-shadow: 0 8px 24px rgb(197 17 210 / 0.35);
}

Electric Purple
#c511d2  rgb(197, 17, 210)  hsl(296, 85%, 45%)  Electric Purple
#1ed211  rgb(30, 210, 17)  hsl(116, 85%, 45%)  Lime Green
#d2c511  rgb(210, 197, 17)  hsl(56, 85%, 45%)  Citrine
#11d2c5  rgb(17, 210, 197)  hsl(176, 85%, 45%)  Medium Turquoise