#D42EFB

#d42efb ≈ Electric Purple

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

#d42efb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 18.04% green and 98.43% blue; printed in CMYK it uses 15.54% cyan, 81.67% magenta, 0% yellow and 1.57% black. Its hue angle is 288.59°, with 96.24% saturation and 58.24% 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 5.58:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.71.

Description generated from the measured properties of this color.

Conversions of #d42efb 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.2292

Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #aa6bbf ≈ 0.001% of males
Protanopia #0079ff ≈ 1.01% of males
Deuteranopia #3c89f7 ≈ 1.27% of males
Tritanopia #d36098 ≈ 0.0001% of males
Protanomaly #8264fe ≈ 1.08% of males
Deuteranomaly #936ff8 ≈ 4.63% of males
Tritanomaly #d350c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d42efb {
  color: #d42efb;
}
Background
.bg-d42efb {
  background-color: #d42efb;
  color: #000000;
}
Border
.border-d42efb {
  border: 2px solid #d42efb;
}
CSS variables
:root {
  --color-primary: #d42efb;
  --color-primary-rgb: 212 46 251;
  --color-primary-hsl: 289 96% 58%;
}
Gradient
.gradient-d42efb {
  background: linear-gradient(135deg, #d42efb, #fb2ebb);
}
Colored shadow
.shadow-d42efb {
  box-shadow: 0 8px 24px rgb(212 46 251 / 0.35);
}

Electric Purple
#d42efb  rgb(212, 46, 251)  hsl(289, 96%, 58%)  Electric Purple
#55fb2e  rgb(85, 251, 46)  hsl(109, 96%, 58%)  Neon Green
#fbd42e  rgb(251, 212, 46)  hsl(49, 96%, 58%)  Cyber Yellow
#2efbd4  rgb(46, 251, 212)  hsl(169, 96%, 58%)  Aquamarine