#C312EF

#c312ef ≈ Electric Purple

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

#c312ef 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 93.73% blue; printed in CMYK it uses 18.41% cyan, 92.47% magenta, 0% yellow and 6.27% black. Its hue angle is 288.05°, with 87.35% saturation and 50.39% 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 4.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.19.

Description generated from the measured properties of this color.

Conversions of #c312ef into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1827

Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #9b5eb4 ≈ 0.001% of males
Protanopia #006df4 ≈ 1.01% of males
Deuteranopia #187beb ≈ 1.27% of males
Tritanopia #c1558e ≈ 0.0001% of males
Protanomaly #7156f2 ≈ 1.08% of males
Deuteranomaly #8262ed ≈ 4.63% of males
Tritanomaly #c243bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c312ef {
  color: #c312ef;
}
Background
.bg-c312ef {
  background-color: #c312ef;
  color: #000000;
}
Border
.border-c312ef {
  border: 2px solid #c312ef;
}
CSS variables
:root {
  --color-primary: #c312ef;
  --color-primary-rgb: 195 18 239;
  --color-primary-hsl: 288 87% 50%;
}
Gradient
.gradient-c312ef {
  background: linear-gradient(135deg, #c312ef, #ef12ad);
}
Colored shadow
.shadow-c312ef {
  box-shadow: 0 8px 24px rgb(195 18 239 / 0.35);
}

Electric Purple
#c312ef  rgb(195, 18, 239)  hsl(288, 87%, 50%)  Electric Purple
#3eef12  rgb(62, 239, 18)  hsl(108, 87%, 50%)  Neon Green
#efc312  rgb(239, 195, 18)  hsl(48, 87%, 50%)  Jonquil
#12efc3  rgb(18, 239, 195)  hsl(168, 87%, 50%)  Aquamarine