#C021E7

#c021e7 ≈ Electric Purple

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

#c021e7 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 90.59% blue; printed in CMYK it uses 16.88% cyan, 85.71% magenta, 0% yellow and 9.41% black. Its hue angle is 288.18°, with 80.49% saturation and 51.76% 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.61:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.09.

Description generated from the measured properties of this color.

Conversions of #c021e7 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.1806

Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #995faf ≈ 0.001% of males
Protanopia #006dec ≈ 1.01% of males
Deuteranopia #2b7ae3 ≈ 1.27% of males
Tritanopia #be558a ≈ 0.0001% of males
Protanomaly #7358ea ≈ 1.08% of males
Deuteranomaly #8363e5 ≈ 4.63% of males
Tritanomaly #bf46b7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c021e7 {
  color: #c021e7;
}
Background
.bg-c021e7 {
  background-color: #c021e7;
  color: #000000;
}
Border
.border-c021e7 {
  border: 2px solid #c021e7;
}
CSS variables
:root {
  --color-primary: #c021e7;
  --color-primary-rgb: 192 33 231;
  --color-primary-hsl: 288 80% 52%;
}
Gradient
.gradient-c021e7 {
  background: linear-gradient(135deg, #c021e7, #e721ab);
}
Colored shadow
.shadow-c021e7 {
  box-shadow: 0 8px 24px rgb(192 33 231 / 0.35);
}

Electric Purple
#c021e7  rgb(192, 33, 231)  hsl(288, 80%, 52%)  Electric Purple
#48e721  rgb(72, 231, 33)  hsl(108, 80%, 52%)  Neon Green
#e7c021  rgb(231, 192, 33)  hsl(48, 80%, 52%)  Jonquil
#21e7c0  rgb(33, 231, 192)  hsl(168, 80%, 52%)  Turquoise