#D02CF4

#d02cf4 ≈ Electric Purple

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

#d02cf4 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.25% green and 95.69% blue; printed in CMYK it uses 14.75% cyan, 81.97% magenta, 0% yellow and 4.31% black. Its hue angle is 289.2°, with 90.09% saturation and 56.47% 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.35:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.96.

Description generated from the measured properties of this color.

Conversions of #d02cf4 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.2174

Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #a669ba ≈ 0.001% of males
Protanopia #0076f9 ≈ 1.01% of males
Deuteranopia #3d86f0 ≈ 1.27% of males
Tritanopia #d05c94 ≈ 0.0001% of males
Protanomaly #8061f7 ≈ 1.08% of males
Deuteranomaly #906df2 ≈ 4.63% of males
Tritanomaly #d04dc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d02cf4  rgb(208, 44, 244)  hsl(289, 90%, 56%)  Electric Purple
#50f42c  rgb(80, 244, 44)  hsl(109, 90%, 56%)  Neon Green
#f4d02c  rgb(244, 208, 44)  hsl(49, 90%, 56%)  Jonquil
#2cf4d0  rgb(44, 244, 208)  hsl(169, 90%, 56%)  Aquamarine