#C42FEC

#c42fec ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#c42fec is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 18.43% green and 92.55% blue; printed in CMYK it uses 16.95% cyan, 80.08% magenta, 0% yellow and 7.45% black. Its hue angle is 287.3°, with 83.26% saturation and 55.49% 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.96:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.64.

Description generated from the measured properties of this color.

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

Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #9e65b4 ≈ 0.001% of males
Protanopia #0072f1 ≈ 1.01% of males
Deuteranopia #357fe8 ≈ 1.27% of males
Tritanopia #c25c90 ≈ 0.0001% of males
Protanomaly #775eef ≈ 1.08% of males
Deuteranomaly #8768ea ≈ 4.63% of males
Tritanomaly #c34ebc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c42fec {
  color: #c42fec;
}
Background
.bg-c42fec {
  background-color: #c42fec;
  color: #000000;
}
Border
.border-c42fec {
  border: 2px solid #c42fec;
}
CSS variables
:root {
  --color-primary: #c42fec;
  --color-primary-rgb: 196 47 236;
  --color-primary-hsl: 287 83% 55%;
}
Gradient
.gradient-c42fec {
  background: linear-gradient(135deg, #c42fec, #ec2fb6);
}
Colored shadow
.shadow-c42fec {
  box-shadow: 0 8px 24px rgb(196 47 236 / 0.35);
}

Electric Purple
#c42fec  rgb(196, 47, 236)  hsl(287, 83%, 55%)  Electric Purple
#57ec2f  rgb(87, 236, 47)  hsl(107, 83%, 55%)  Neon Green
#ecc42f  rgb(236, 196, 47)  hsl(47, 83%, 55%)  Saffron
#2fecc4  rgb(47, 236, 196)  hsl(167, 83%, 55%)  Aquamarine