#CF04EA

#cf04ea ≈ Electric Purple

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

#cf04ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 1.57% green and 91.76% blue; printed in CMYK it uses 11.54% cyan, 98.29% magenta, 0% yellow and 8.24% black. Its hue angle is 292.96°, with 96.64% saturation and 46.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 4.86:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.09.

Description generated from the measured properties of this color.

Conversions of #cf04ea 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.1929

Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a360b2 ≈ 0.001% of males
Protanopia #006def ≈ 1.01% of males
Deuteranopia #3a80e6 ≈ 1.27% of males
Tritanopia #d14d8a ≈ 0.0001% of males
Protanomaly #7d56ed ≈ 1.08% of males
Deuteranomaly #8f65e8 ≈ 4.63% of males
Tritanomaly #d03cb8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf04ea {
  color: #cf04ea;
}
Background
.bg-cf04ea {
  background-color: #cf04ea;
  color: #000000;
}
Border
.border-cf04ea {
  border: 2px solid #cf04ea;
}
CSS variables
:root {
  --color-primary: #cf04ea;
  --color-primary-rgb: 207 4 234;
  --color-primary-hsl: 293 97% 47%;
}
Gradient
.gradient-cf04ea {
  background: linear-gradient(135deg, #cf04ea, #ea0492);
}
Colored shadow
.shadow-cf04ea {
  box-shadow: 0 8px 24px rgb(207 4 234 / 0.35);
}

Electric Purple
#cf04ea  rgb(207, 4, 234)  hsl(293, 97%, 47%)  Electric Purple
#1fea04  rgb(31, 234, 4)  hsl(113, 97%, 47%)  Lime
#eacf04  rgb(234, 207, 4)  hsl(53, 97%, 47%)  Citrine
#04eacf  rgb(4, 234, 207)  hsl(173, 97%, 47%)  Turquoise