#CF12E8

#cf12e8 ≈ Electric Purple

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

#cf12e8 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 90.98% blue; printed in CMYK it uses 10.78% cyan, 92.24% magenta, 0% yellow and 9.02% black. Its hue angle is 292.99°, with 85.6% saturation and 49.02% 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.9:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.44.

Description generated from the measured properties of this color.

Conversions of #cf12e8 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.1952

Readable text 4.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a361b1 ≈ 0.001% of males
Protanopia #006eed ≈ 1.01% of males
Deuteranopia #3f80e4 ≈ 1.27% of males
Tritanopia #d14e8a ≈ 0.0001% of males
Protanomaly #7f57eb ≈ 1.08% of males
Deuteranomaly #9066e6 ≈ 4.63% of males
Tritanomaly #d03eb7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cf12e8  rgb(207, 18, 232)  hsl(293, 86%, 49%)  Electric Purple
#2be812  rgb(43, 232, 18)  hsl(113, 86%, 49%)  Lime
#e8cf12  rgb(232, 207, 18)  hsl(53, 86%, 49%)  Citrine
#12e8cf  rgb(18, 232, 207)  hsl(173, 86%, 49%)  Turquoise