#DC0FEF

#dc0fef ≈ Electric Purple

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

#dc0fef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 5.88% green and 93.73% blue; printed in CMYK it uses 7.95% cyan, 93.72% magenta, 0% yellow and 6.27% black. Its hue angle is 294.91°, with 88.19% 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.36:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.12.

Description generated from the measured properties of this color.

Conversions of #dc0fef 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.2179

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 #ad66b7 ≈ 0.001% of males
Protanopia #0073f4 ≈ 1.01% of males
Deuteranopia #4b88eb ≈ 1.27% of males
Tritanopia #e04e8e ≈ 0.0001% of males
Protanomaly #895bf2 ≈ 1.08% of males
Deuteranomaly #9b6cec ≈ 4.63% of males
Tritanomaly #de3dbd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc0fef {
  color: #dc0fef;
}
Background
.bg-dc0fef {
  background-color: #dc0fef;
  color: #000000;
}
Border
.border-dc0fef {
  border: 2px solid #dc0fef;
}
CSS variables
:root {
  --color-primary: #dc0fef;
  --color-primary-rgb: 220 15 239;
  --color-primary-hsl: 295 88% 50%;
}
Gradient
.gradient-dc0fef {
  background: linear-gradient(135deg, #dc0fef, #ef0f92);
}
Colored shadow
.shadow-dc0fef {
  box-shadow: 0 8px 24px rgb(220 15 239 / 0.35);
}

Electric Purple
#dc0fef  rgb(220, 15, 239)  hsl(295, 88%, 50%)  Electric Purple
#22ef0f  rgb(34, 239, 15)  hsl(115, 88%, 50%)  Lime
#efdc0f  rgb(239, 220, 15)  hsl(55, 88%, 50%)  Dandelion
#0fefdc  rgb(15, 239, 220)  hsl(175, 88%, 50%)  Bright Turquoise