#CF04DB

#cf04db ≈ Electric Purple

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

#cf04db 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 85.88% blue; printed in CMYK it uses 5.48% cyan, 98.17% magenta, 0% yellow and 14.12% black. Its hue angle is 296.65°, with 96.41% saturation and 43.73% 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.69:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.75.

Description generated from the measured properties of this color.

Conversions of #cf04db into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1847

Readable text 4.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a25ea8 ≈ 0.001% of males
Protanopia #0069e0 ≈ 1.01% of males
Deuteranopia #4a7ed7 ≈ 1.27% of males
Tritanopia #d44381 ≈ 0.0001% of males
Protanomaly #8153de ≈ 1.08% of males
Deuteranomaly #9363d9 ≈ 4.63% of males
Tritanomaly #d234ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf04db {
  color: #cf04db;
}
Background
.bg-cf04db {
  background-color: #cf04db;
  color: #000000;
}
Border
.border-cf04db {
  border: 2px solid #cf04db;
}
CSS variables
:root {
  --color-primary: #cf04db;
  --color-primary-rgb: 207 4 219;
  --color-primary-hsl: 297 96% 44%;
}
Gradient
.gradient-cf04db {
  background: linear-gradient(135deg, #cf04db, #db047c);
}
Colored shadow
.shadow-cf04db {
  box-shadow: 0 8px 24px rgb(207 4 219 / 0.35);
}

Electric Purple
#cf04db  rgb(207, 4, 219)  hsl(297, 96%, 44%)  Electric Purple
#10db04  rgb(16, 219, 4)  hsl(117, 96%, 44%)  Lime Green
#dbcf04  rgb(219, 207, 4)  hsl(57, 96%, 44%)  Citrine
#04dbcf  rgb(4, 219, 207)  hsl(177, 96%, 44%)  Turquoise