#C42DFD

#c42dfd ≈ Electric Purple

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

#c42dfd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.86% red, 17.65% green and 99.22% blue; printed in CMYK it uses 22.53% cyan, 82.21% magenta, 0% yellow and 0.78% black. Its hue angle is 283.56°, with 98.11% saturation and 58.43% 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.14:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.07.

Description generated from the measured properties of this color.

Conversions of #c42dfd 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.207

Readable text 4.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #9f67be ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #0581f9 ≈ 1.27% of males
Tritanopia #be6499 ≈ 0.0001% of males
Protanomaly #7261ff ≈ 1.08% of males
Deuteranomaly #8269fb ≈ 4.63% of males
Tritanomaly #c053c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c42dfd {
  color: #c42dfd;
}
Background
.bg-c42dfd {
  background-color: #c42dfd;
  color: #000000;
}
Border
.border-c42dfd {
  border: 2px solid #c42dfd;
}
CSS variables
:root {
  --color-primary: #c42dfd;
  --color-primary-rgb: 196 45 253;
  --color-primary-hsl: 284 98% 58%;
}
Gradient
.gradient-c42dfd {
  background: linear-gradient(135deg, #c42dfd, #fd2dce);
}
Colored shadow
.shadow-c42dfd {
  box-shadow: 0 8px 24px rgb(196 45 253 / 0.35);
}

Electric Purple
#c42dfd  rgb(196, 45, 253)  hsl(284, 98%, 58%)  Electric Purple
#66fd2d  rgb(102, 253, 45)  hsl(104, 98%, 58%)  Harlequin
#fdc42d  rgb(253, 196, 45)  hsl(44, 98%, 58%)  Mikado Yellow
#2dfdc4  rgb(45, 253, 196)  hsl(164, 98%, 58%)  Aquamarine