#C01FF2

#c01ff2 ≈ Electric Purple

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

#c01ff2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 12.16% green and 94.9% blue; printed in CMYK it uses 20.66% cyan, 87.19% magenta, 0% yellow and 5.1% black. Its hue angle is 285.78°, with 89.03% saturation and 53.53% 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.72:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.82.

Description generated from the measured properties of this color.

Conversions of #c01ff2 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.186

Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9a60b6 ≈ 0.001% of males
Protanopia #006ff7 ≈ 1.01% of males
Deuteranopia #0a7bee ≈ 1.27% of males
Tritanopia #bc5a91 ≈ 0.0001% of males
Protanomaly #6f59f5 ≈ 1.08% of males
Deuteranomaly #7f63f0 ≈ 4.63% of males
Tritanomaly #be49c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c01ff2 {
  color: #c01ff2;
}
Background
.bg-c01ff2 {
  background-color: #c01ff2;
  color: #000000;
}
Border
.border-c01ff2 {
  border: 2px solid #c01ff2;
}
CSS variables
:root {
  --color-primary: #c01ff2;
  --color-primary-rgb: 192 31 242;
  --color-primary-hsl: 286 89% 54%;
}
Gradient
.gradient-c01ff2 {
  background: linear-gradient(135deg, #c01ff2, #f21fbb);
}
Colored shadow
.shadow-c01ff2 {
  box-shadow: 0 8px 24px rgb(192 31 242 / 0.35);
}

Electric Purple
#c01ff2  rgb(192, 31, 242)  hsl(286, 89%, 54%)  Electric Purple
#51f21f  rgb(81, 242, 31)  hsl(106, 89%, 54%)  Neon Green
#f2c01f  rgb(242, 192, 31)  hsl(46, 89%, 54%)  Saffron
#1ff2c0  rgb(31, 242, 192)  hsl(166, 89%, 54%)  Aquamarine