#D302FE

#d302fe ≈ Electric Purple

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

#d302fe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 0.78% green and 99.61% blue; printed in CMYK it uses 16.93% cyan, 99.21% magenta, 0% yellow and 0.39% black. Its hue angle is 289.76°, with 99.21% saturation and 50.2% 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.21:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.8.

Description generated from the measured properties of this color.

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

Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a764bf ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #1f84fa ≈ 1.27% of males
Tritanopia #d15796 ≈ 0.0001% of males
Protanomaly #7b5bff ≈ 1.08% of males
Deuteranomaly #8e68fb ≈ 4.63% of males
Tritanomaly #d244c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d302fe {
  color: #d302fe;
}
Background
.bg-d302fe {
  background-color: #d302fe;
  color: #000000;
}
Border
.border-d302fe {
  border: 2px solid #d302fe;
}
CSS variables
:root {
  --color-primary: #d302fe;
  --color-primary-rgb: 211 2 254;
  --color-primary-hsl: 290 99% 50%;
}
Gradient
.gradient-d302fe {
  background: linear-gradient(135deg, #d302fe, #fe02ab);
}
Colored shadow
.shadow-d302fe {
  box-shadow: 0 8px 24px rgb(211 2 254 / 0.35);
}

Electric Purple
#d302fe  rgb(211, 2, 254)  hsl(290, 99%, 50%)  Electric Purple
#2dfe02  rgb(45, 254, 2)  hsl(110, 99%, 50%)  Neon Green
#fed302  rgb(254, 211, 2)  hsl(50, 99%, 50%)  Cyber Yellow
#02fed3  rgb(2, 254, 211)  hsl(170, 99%, 50%)  Aquamarine