#CF0CD4

#cf0cd4 ≈ Electric Purple

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

#cf0cd4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 4.71% green and 83.14% blue; printed in CMYK it uses 2.36% cyan, 94.34% magenta, 0% yellow and 16.86% black. Its hue angle is 298.5°, with 89.29% saturation and 43.92% 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.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.69.

Description generated from the measured properties of this color.

Conversions of #cf0cd4 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.1828

Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a25ea4 ≈ 0.001% of males
Protanopia #0068d8 ≈ 1.01% of males
Deuteranopia #517ed0 ≈ 1.27% of males
Tritanopia #d5407d ≈ 0.0001% of males
Protanomaly #8352d7 ≈ 1.08% of males
Deuteranomaly #9564d2 ≈ 4.63% of males
Tritanomaly #d332a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf0cd4 {
  color: #cf0cd4;
}
Background
.bg-cf0cd4 {
  background-color: #cf0cd4;
  color: #000000;
}
Border
.border-cf0cd4 {
  border: 2px solid #cf0cd4;
}
CSS variables
:root {
  --color-primary: #cf0cd4;
  --color-primary-rgb: 207 12 212;
  --color-primary-hsl: 299 89% 44%;
}
Gradient
.gradient-cf0cd4 {
  background: linear-gradient(135deg, #cf0cd4, #d40c75);
}
Colored shadow
.shadow-cf0cd4 {
  box-shadow: 0 8px 24px rgb(207 12 212 / 0.35);
}

Electric Purple
#cf0cd4  rgb(207, 12, 212)  hsl(299, 89%, 44%)  Electric Purple
#11d40c  rgb(17, 212, 12)  hsl(119, 89%, 44%)  Lime Green
#d4cf0c  rgb(212, 207, 12)  hsl(59, 89%, 44%)  Citrine
#0cd4cf  rgb(12, 212, 207)  hsl(179, 89%, 44%)  Medium Turquoise