#C42BFA

#c42bfa ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#c42bfa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.86% red, 16.86% green and 98.04% blue; printed in CMYK it uses 21.6% cyan, 82.8% magenta, 0% yellow and 1.96% black. Its hue angle is 284.35°, with 95.39% saturation and 57.45% lightness in HSL. It is a cool color, 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 5.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.84.

Description generated from the measured properties of this color.

Conversions of #c42bfa 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.2037

Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #9e66bc ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #1180f6 ≈ 1.27% of males
Tritanopia #bf6197 ≈ 0.0001% of males
Protanomaly #7260fd ≈ 1.08% of males
Deuteranomaly #8268f8 ≈ 4.63% of males
Tritanomaly #c151c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c42bfa {
  color: #c42bfa;
}
Background
.bg-c42bfa {
  background-color: #c42bfa;
  color: #000000;
}
Border
.border-c42bfa {
  border: 2px solid #c42bfa;
}
CSS variables
:root {
  --color-primary: #c42bfa;
  --color-primary-rgb: 196 43 250;
  --color-primary-hsl: 284 95% 57%;
}
Gradient
.gradient-c42bfa {
  background: linear-gradient(135deg, #c42bfa, #fa2bc8);
}
Colored shadow
.shadow-c42bfa {
  box-shadow: 0 8px 24px rgb(196 43 250 / 0.35);
}

Electric Purple
#c42bfa  rgb(196, 43, 250)  hsl(284, 95%, 57%)  Electric Purple
#61fa2b  rgb(97, 250, 43)  hsl(104, 95%, 57%)  Harlequin
#fac42b  rgb(250, 196, 43)  hsl(44, 95%, 57%)  Saffron
#2bfac4  rgb(43, 250, 196)  hsl(164, 95%, 57%)  Aquamarine