#CF12EC

#cf12ec ≈ Electric Purple

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

#cf12ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 7.06% green and 92.55% blue; printed in CMYK it uses 12.29% cyan, 92.37% magenta, 0% yellow and 7.45% black. Its hue angle is 292.02°, with 85.83% saturation and 49.8% 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.95: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 #cf12ec 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.1975

Readable text 4.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.95:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a362b4 ≈ 0.001% of males
Protanopia #006ff1 ≈ 1.01% of males
Deuteranopia #3b81e8 ≈ 1.27% of males
Tritanopia #d0508c ≈ 0.0001% of males
Protanomaly #7e58ef ≈ 1.08% of males
Deuteranomaly #8f66ea ≈ 4.63% of males
Tritanomaly #d040ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cf12ec  rgb(207, 18, 236)  hsl(292, 86%, 50%)  Electric Purple
#2fec12  rgb(47, 236, 18)  hsl(112, 86%, 50%)  Lime
#eccf12  rgb(236, 207, 18)  hsl(52, 86%, 50%)  Citrine
#12eccf  rgb(18, 236, 207)  hsl(172, 86%, 50%)  Turquoise