#CF0DEC

#cf0dec ≈ Electric Purple

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

#cf0dec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 5.1% green and 92.55% blue; printed in CMYK it uses 12.29% cyan, 94.49% magenta, 0% yellow and 7.45% black. Its hue angle is 292.2°, with 89.56% saturation and 48.82% 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.92:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.01.

Description generated from the measured properties of this color.

Conversions of #cf0dec 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.1961

Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a361b3 ≈ 0.001% of males
Protanopia #006ff1 ≈ 1.01% of males
Deuteranopia #3980e8 ≈ 1.27% of males
Tritanopia #d04f8c ≈ 0.0001% of males
Protanomaly #7d57ef ≈ 1.08% of males
Deuteranomaly #8f66ea ≈ 4.63% of males
Tritanomaly #d03eba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf0dec {
  color: #cf0dec;
}
Background
.bg-cf0dec {
  background-color: #cf0dec;
  color: #000000;
}
Border
.border-cf0dec {
  border: 2px solid #cf0dec;
}
CSS variables
:root {
  --color-primary: #cf0dec;
  --color-primary-rgb: 207 13 236;
  --color-primary-hsl: 292 90% 49%;
}
Gradient
.gradient-cf0dec {
  background: linear-gradient(135deg, #cf0dec, #ec0d99);
}
Colored shadow
.shadow-cf0dec {
  box-shadow: 0 8px 24px rgb(207 13 236 / 0.35);
}

Electric Purple
#cf0dec  rgb(207, 13, 236)  hsl(292, 90%, 49%)  Electric Purple
#2aec0d  rgb(42, 236, 13)  hsl(112, 90%, 49%)  Lime
#eccf0d  rgb(236, 207, 13)  hsl(52, 90%, 49%)  Citrine
#0deccf  rgb(13, 236, 207)  hsl(172, 90%, 49%)  Turquoise