#C021F4

#c021f4 ≈ Electric Purple

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

#c021f4 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 95.69% blue; printed in CMYK it uses 21.31% cyan, 86.48% magenta, 0% yellow and 4.31% black. Its hue angle is 285.21°, with 90.56% saturation and 54.31% 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.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.74.

Description generated from the measured properties of this color.

Conversions of #c021f4 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.1883

Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9a61b7 ≈ 0.001% of males
Protanopia #0070f9 ≈ 1.01% of males
Deuteranopia #027cf0 ≈ 1.27% of males
Tritanopia #bb5c92 ≈ 0.0001% of males
Protanomaly #6e5af7 ≈ 1.08% of males
Deuteranomaly #7f64f2 ≈ 4.63% of males
Tritanomaly #bd4bc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#c021f4  rgb(192, 33, 244)  hsl(285, 91%, 54%)  Electric Purple
#55f421  rgb(85, 244, 33)  hsl(105, 91%, 54%)  Harlequin
#f4c021  rgb(244, 192, 33)  hsl(45, 91%, 54%)  Saffron
#21f4c0  rgb(33, 244, 192)  hsl(165, 91%, 54%)  Aquamarine