#C021EB

#c021eb ≈ Electric Purple

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

#c021eb 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 92.16% blue; printed in CMYK it uses 18.3% cyan, 85.96% magenta, 0% yellow and 7.84% black. Its hue angle is 287.23°, with 83.47% saturation and 52.55% 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.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.61.

Description generated from the measured properties of this color.

Conversions of #c021eb 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.1829

Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9960b1 ≈ 0.001% of males
Protanopia #006ef0 ≈ 1.01% of males
Deuteranopia #247be7 ≈ 1.27% of males
Tritanopia #be578d ≈ 0.0001% of males
Protanomaly #7159ee ≈ 1.08% of males
Deuteranomaly #8163e9 ≈ 4.63% of males
Tritanomaly #bf47ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c021eb {
  color: #c021eb;
}
Background
.bg-c021eb {
  background-color: #c021eb;
  color: #000000;
}
Border
.border-c021eb {
  border: 2px solid #c021eb;
}
CSS variables
:root {
  --color-primary: #c021eb;
  --color-primary-rgb: 192 33 235;
  --color-primary-hsl: 287 83% 53%;
}
Gradient
.gradient-c021eb {
  background: linear-gradient(135deg, #c021eb, #eb21b1);
}
Colored shadow
.shadow-c021eb {
  box-shadow: 0 8px 24px rgb(192 33 235 / 0.35);
}

Electric Purple
#c021eb  rgb(192, 33, 235)  hsl(287, 83%, 53%)  Electric Purple
#4ceb21  rgb(76, 235, 33)  hsl(107, 83%, 53%)  Neon Green
#ebc021  rgb(235, 192, 33)  hsl(47, 83%, 53%)  Saffron
#21ebc0  rgb(33, 235, 192)  hsl(167, 83%, 53%)  Aquamarine