#D802FC

#d802fc ≈ Electric Purple

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

#d802fc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 0.78% green and 98.82% blue; printed in CMYK it uses 14.29% cyan, 99.21% magenta, 0% yellow and 1.18% black. Its hue angle is 291.36°, with 98.43% saturation and 49.8% 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.33:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.76.

Description generated from the measured properties of this color.

Conversions of #d802fc 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.2167

Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #ab65bf ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #3186f8 ≈ 1.27% of males
Tritanopia #d85595 ≈ 0.0001% of males
Protanomaly #815bff ≈ 1.08% of males
Deuteranomaly #936af9 ≈ 4.63% of males
Tritanomaly #d842c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d802fc {
  color: #d802fc;
}
Background
.bg-d802fc {
  background-color: #d802fc;
  color: #000000;
}
Border
.border-d802fc {
  border: 2px solid #d802fc;
}
CSS variables
:root {
  --color-primary: #d802fc;
  --color-primary-rgb: 216 2 252;
  --color-primary-hsl: 291 98% 50%;
}
Gradient
.gradient-d802fc {
  background: linear-gradient(135deg, #d802fc, #fc02a3);
}
Colored shadow
.shadow-d802fc {
  box-shadow: 0 8px 24px rgb(216 2 252 / 0.35);
}

Electric Purple
#d802fc  rgb(216, 2, 252)  hsl(291, 98%, 50%)  Electric Purple
#26fc02  rgb(38, 252, 2)  hsl(111, 98%, 50%)  Lime
#fcd802  rgb(252, 216, 2)  hsl(51, 98%, 50%)  Gold
#02fcd8  rgb(2, 252, 216)  hsl(171, 98%, 50%)  Aquamarine