#C40CEF

#c40cef ≈ Electric Purple

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

#c40cef 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.71% green and 93.73% blue; printed in CMYK it uses 17.99% cyan, 94.98% magenta, 0% yellow and 6.27% black. Its hue angle is 288.63°, with 90.44% saturation and 49.22% 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.25.

Description generated from the measured properties of this color.

Conversions of #c40cef 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.1823

Readable text 4.52: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 #9c5eb4 ≈ 0.001% of males
Protanopia #006df4 ≈ 1.01% of males
Deuteranopia #187beb ≈ 1.27% of males
Tritanopia #c2538d ≈ 0.0001% of males
Protanomaly #7256f2 ≈ 1.08% of males
Deuteranomaly #8361ed ≈ 4.63% of males
Tritanomaly #c342bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c40cef {
  color: #c40cef;
}
Background
.bg-c40cef {
  background-color: #c40cef;
  color: #000000;
}
Border
.border-c40cef {
  border: 2px solid #c40cef;
}
CSS variables
:root {
  --color-primary: #c40cef;
  --color-primary-rgb: 196 12 239;
  --color-primary-hsl: 289 90% 49%;
}
Gradient
.gradient-c40cef {
  background: linear-gradient(135deg, #c40cef, #ef0ca9);
}
Colored shadow
.shadow-c40cef {
  box-shadow: 0 8px 24px rgb(196 12 239 / 0.35);
}

Electric Purple
#c40cef  rgb(196, 12, 239)  hsl(289, 90%, 49%)  Electric Purple
#37ef0c  rgb(55, 239, 12)  hsl(109, 90%, 49%)  Neon Green
#efc40c  rgb(239, 196, 12)  hsl(49, 90%, 49%)  Jonquil
#0cefc4  rgb(12, 239, 196)  hsl(169, 90%, 49%)  Aquamarine