#C021D7

#c021d7 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#c021d7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 12.94% green and 84.31% blue; printed in CMYK it uses 10.7% cyan, 84.65% magenta, 0% yellow and 15.69% black. Its hue angle is 292.42°, with 73.39% saturation and 48.63% 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 brand accents. White text on this color reaches a contrast ratio of 4.73:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.23.

Description generated from the measured properties of this color.

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

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

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #985da5 ≈ 0.001% of males
Protanopia #0068dc ≈ 1.01% of males
Deuteranopia #4079d3 ≈ 1.27% of males
Tritanopia #c24c81 ≈ 0.0001% of males
Protanomaly #7755da ≈ 1.08% of males
Deuteranomaly #8761d5 ≈ 4.63% of males
Tritanomaly #c13faa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c021d7 {
  color: #c021d7;
}
Background
.bg-c021d7 {
  background-color: #c021d7;
  color: #ffffff;
}
Border
.border-c021d7 {
  border: 2px solid #c021d7;
}
CSS variables
:root {
  --color-primary: #c021d7;
  --color-primary-rgb: 192 33 215;
  --color-primary-hsl: 292 73% 49%;
}
Gradient
.gradient-c021d7 {
  background: linear-gradient(135deg, #c021d7, #d72193);
}
Colored shadow
.shadow-c021d7 {
  box-shadow: 0 8px 24px rgb(192 33 215 / 0.35);
}

Electric Purple
#c021d7  rgb(192, 33, 215)  hsl(292, 73%, 49%)  Electric Purple
#38d721  rgb(56, 215, 33)  hsl(112, 73%, 49%)  Lime Green
#d7c021  rgb(215, 192, 33)  hsl(52, 73%, 49%)  Old Gold
#21d7c0  rgb(33, 215, 192)  hsl(172, 73%, 49%)  Turquoise