#C40EF2

#c40ef2 ≈ Electric Purple

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

#c40ef2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.86% red, 5.49% green and 94.9% blue; printed in CMYK it uses 19.01% cyan, 94.21% magenta, 0% yellow and 5.1% black. Its hue angle is 287.89°, with 89.76% saturation and 50.2% 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.69:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.93.

Description generated from the measured properties of this color.

Conversions of #c40ef2 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.1846

Readable text 4.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9c5eb6 ≈ 0.001% of males
Protanopia #006ef7 ≈ 1.01% of males
Deuteranopia #0d7bee ≈ 1.27% of males
Tritanopia #c1558f ≈ 0.0001% of males
Protanomaly #7157f5 ≈ 1.08% of males
Deuteranomaly #8262f0 ≈ 4.63% of males
Tritanomaly #c243bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c40ef2 {
  color: #c40ef2;
}
Background
.bg-c40ef2 {
  background-color: #c40ef2;
  color: #000000;
}
Border
.border-c40ef2 {
  border: 2px solid #c40ef2;
}
CSS variables
:root {
  --color-primary: #c40ef2;
  --color-primary-rgb: 196 14 242;
  --color-primary-hsl: 288 90% 50%;
}
Gradient
.gradient-c40ef2 {
  background: linear-gradient(135deg, #c40ef2, #f20eae);
}
Colored shadow
.shadow-c40ef2 {
  box-shadow: 0 8px 24px rgb(196 14 242 / 0.35);
}

Electric Purple
#c40ef2  rgb(196, 14, 242)  hsl(288, 90%, 50%)  Electric Purple
#3cf20e  rgb(60, 242, 14)  hsl(108, 90%, 50%)  Neon Green
#f2c40e  rgb(242, 196, 14)  hsl(48, 90%, 50%)  Jonquil
#0ef2c4  rgb(14, 242, 196)  hsl(168, 90%, 50%)  Aquamarine