#C42BFB

#c42bfb ≈ Electric Purple

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

#c42bfb 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.43% blue; printed in CMYK it uses 21.91% cyan, 82.87% magenta, 0% yellow and 1.57% black. Its hue angle is 284.13°, with 96.3% saturation and 57.65% 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.09:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.85.

Description generated from the measured properties of this color.

Conversions of #c42bfb 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.2043

Readable text 4.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #9e66bd ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #0c80f7 ≈ 1.27% of males
Tritanopia #bf6298 ≈ 0.0001% of males
Protanomaly #7260fe ≈ 1.08% of males
Deuteranomaly #8268f9 ≈ 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-c42bfb {
  color: #c42bfb;
}
Background
.bg-c42bfb {
  background-color: #c42bfb;
  color: #000000;
}
Border
.border-c42bfb {
  border: 2px solid #c42bfb;
}
CSS variables
:root {
  --color-primary: #c42bfb;
  --color-primary-rgb: 196 43 251;
  --color-primary-hsl: 284 96% 58%;
}
Gradient
.gradient-c42bfb {
  background: linear-gradient(135deg, #c42bfb, #fb2bca);
}
Colored shadow
.shadow-c42bfb {
  box-shadow: 0 8px 24px rgb(196 43 251 / 0.35);
}

Electric Purple
#c42bfb  rgb(196, 43, 251)  hsl(284, 96%, 58%)  Electric Purple
#62fb2b  rgb(98, 251, 43)  hsl(104, 96%, 58%)  Harlequin
#fbc42b  rgb(251, 196, 43)  hsl(44, 96%, 58%)  Mikado Yellow
#2bfbc4  rgb(43, 251, 196)  hsl(164, 96%, 58%)  Aquamarine