#C312DA

#c312da ≈ Electric Purple

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

#c312da is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.47% red, 7.06% green and 85.49% blue; printed in CMYK it uses 10.55% cyan, 91.74% magenta, 0% yellow and 14.51% black. Its hue angle is 293.1°, with 84.75% saturation and 46.27% 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.75:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.95.

Description generated from the measured properties of this color.

Conversions of #c312da 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.171

Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #9a5ba6 ≈ 0.001% of males
Protanopia #0067df ≈ 1.01% of males
Deuteranopia #3c79d6 ≈ 1.27% of males
Tritanopia #c54981 ≈ 0.0001% of males
Protanomaly #7752dd ≈ 1.08% of males
Deuteranomaly #8860d8 ≈ 4.63% of males
Tritanomaly #c43aac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c312da {
  color: #c312da;
}
Background
.bg-c312da {
  background-color: #c312da;
  color: #ffffff;
}
Border
.border-c312da {
  border: 2px solid #c312da;
}
CSS variables
:root {
  --color-primary: #c312da;
  --color-primary-rgb: 195 18 218;
  --color-primary-hsl: 293 85% 46%;
}
Gradient
.gradient-c312da {
  background: linear-gradient(135deg, #c312da, #da128d);
}
Colored shadow
.shadow-c312da {
  box-shadow: 0 8px 24px rgb(195 18 218 / 0.35);
}

Electric Purple
#c312da  rgb(195, 18, 218)  hsl(293, 85%, 46%)  Electric Purple
#29da12  rgb(41, 218, 18)  hsl(113, 85%, 46%)  Lime Green
#dac312  rgb(218, 195, 18)  hsl(53, 85%, 46%)  Citrine
#12dac3  rgb(18, 218, 195)  hsl(173, 85%, 46%)  Turquoise