#CF04FE

#cf04fe ≈ Electric Purple

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

#cf04fe 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 99.61% blue; printed in CMYK it uses 18.5% cyan, 98.43% magenta, 0% yellow and 0.39% black. Its hue angle is 288.72°, with 99.21% saturation and 50.59% 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.1:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.08.

Description generated from the measured properties of this color.

Conversions of #cf04fe 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.2051

Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a463bf ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #0e82fa ≈ 1.27% of males
Tritanopia #cc5896 ≈ 0.0001% of males
Protanomaly #775aff ≈ 1.08% of males
Deuteranomaly #8a66fb ≈ 4.63% of males
Tritanomaly #cd45c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf04fe {
  color: #cf04fe;
}
Background
.bg-cf04fe {
  background-color: #cf04fe;
  color: #000000;
}
Border
.border-cf04fe {
  border: 2px solid #cf04fe;
}
CSS variables
:root {
  --color-primary: #cf04fe;
  --color-primary-rgb: 207 4 254;
  --color-primary-hsl: 289 99% 51%;
}
Gradient
.gradient-cf04fe {
  background: linear-gradient(135deg, #cf04fe, #fe04b0);
}
Colored shadow
.shadow-cf04fe {
  box-shadow: 0 8px 24px rgb(207 4 254 / 0.35);
}

Electric Purple
#cf04fe  rgb(207, 4, 254)  hsl(289, 99%, 51%)  Electric Purple
#33fe04  rgb(51, 254, 4)  hsl(109, 99%, 51%)  Neon Green
#fecf04  rgb(254, 207, 4)  hsl(49, 99%, 51%)  Cyber Yellow
#04fecf  rgb(4, 254, 207)  hsl(169, 99%, 51%)  Aquamarine