#D02DF4

#d02df4 ≈ Electric Purple

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

#d02df4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 17.65% green and 95.69% blue; printed in CMYK it uses 14.75% cyan, 81.56% magenta, 0% yellow and 4.31% black. Its hue angle is 289.15°, with 90.05% saturation and 56.67% 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.36:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.03.

Description generated from the measured properties of this color.

Conversions of #d02df4 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.2182

Readable text 3.92:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.36:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a669ba ≈ 0.001% of males
Protanopia #0076f9 ≈ 1.01% of males
Deuteranopia #3e86f0 ≈ 1.27% of males
Tritanopia #d05d94 ≈ 0.0001% of males
Protanomaly #8061f7 ≈ 1.08% of males
Deuteranomaly #916df2 ≈ 4.63% of males
Tritanomaly #d04ec2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d02df4 {
  color: #d02df4;
}
Background
.bg-d02df4 {
  background-color: #d02df4;
  color: #000000;
}
Border
.border-d02df4 {
  border: 2px solid #d02df4;
}
CSS variables
:root {
  --color-primary: #d02df4;
  --color-primary-rgb: 208 45 244;
  --color-primary-hsl: 289 90% 57%;
}
Gradient
.gradient-d02df4 {
  background: linear-gradient(135deg, #d02df4, #f42db4);
}
Colored shadow
.shadow-d02df4 {
  box-shadow: 0 8px 24px rgb(208 45 244 / 0.35);
}

Electric Purple
#d02df4  rgb(208, 45, 244)  hsl(289, 90%, 57%)  Electric Purple
#51f42d  rgb(81, 244, 45)  hsl(109, 90%, 57%)  Neon Green
#f4d02d  rgb(244, 208, 45)  hsl(49, 90%, 57%)  Jonquil
#2df4d0  rgb(45, 244, 208)  hsl(169, 90%, 57%)  Aquamarine