#CC1FEF

#cc1fef ≈ Electric Purple

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

#cc1fef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 12.16% green and 93.73% blue; printed in CMYK it uses 14.64% cyan, 87.03% magenta, 0% yellow and 6.27% black. Its hue angle is 289.9°, with 86.67% saturation and 52.94% 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 5.01:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.75.

Description generated from the measured properties of this color.

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

Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a263b6 ≈ 0.001% of males
Protanopia #0071f4 ≈ 1.01% of males
Deuteranopia #3681eb ≈ 1.27% of males
Tritanopia #cc568f ≈ 0.0001% of males
Protanomaly #7b5bf2 ≈ 1.08% of males
Deuteranomaly #8c68ed ≈ 4.63% of males
Tritanomaly #cc46bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc1fef {
  color: #cc1fef;
}
Background
.bg-cc1fef {
  background-color: #cc1fef;
  color: #000000;
}
Border
.border-cc1fef {
  border: 2px solid #cc1fef;
}
CSS variables
:root {
  --color-primary: #cc1fef;
  --color-primary-rgb: 204 31 239;
  --color-primary-hsl: 290 87% 53%;
}
Gradient
.gradient-cc1fef {
  background: linear-gradient(135deg, #cc1fef, #ef1faa);
}
Colored shadow
.shadow-cc1fef {
  box-shadow: 0 8px 24px rgb(204 31 239 / 0.35);
}

Electric Purple
#cc1fef  rgb(204, 31, 239)  hsl(290, 87%, 53%)  Electric Purple
#42ef1f  rgb(66, 239, 31)  hsl(110, 87%, 53%)  Neon Green
#efcc1f  rgb(239, 204, 31)  hsl(50, 87%, 53%)  Jonquil
#1fefcc  rgb(31, 239, 204)  hsl(170, 87%, 53%)  Turquoise