#C021F1

#c021f1 ≈ Electric Purple

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

#c021f1 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.94% green and 94.51% blue; printed in CMYK it uses 20.33% cyan, 86.31% magenta, 0% yellow and 5.49% black. Its hue angle is 285.87°, with 88.14% saturation and 53.73% 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.73:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.99.

Description generated from the measured properties of this color.

Conversions of #c021f1 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.1865

Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9a60b5 ≈ 0.001% of males
Protanopia #006ff6 ≈ 1.01% of males
Deuteranopia #127bed ≈ 1.27% of males
Tritanopia #bc5a90 ≈ 0.0001% of males
Protanomaly #6f5af4 ≈ 1.08% of males
Deuteranomaly #8063ef ≈ 4.63% of males
Tritanomaly #be4abf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#c021f1  rgb(192, 33, 241)  hsl(286, 88%, 54%)  Electric Purple
#52f121  rgb(82, 241, 33)  hsl(106, 88%, 54%)  Neon Green
#f1c021  rgb(241, 192, 33)  hsl(46, 88%, 54%)  Saffron
#21f1c0  rgb(33, 241, 192)  hsl(166, 88%, 54%)  Aquamarine