#C802EA

#c802ea ≈ Electric Purple

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

#c802ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 78.43% red, 0.78% green and 91.76% blue; printed in CMYK it uses 14.53% cyan, 99.15% magenta, 0% yellow and 8.24% black. Its hue angle is 291.21°, with 98.31% saturation and 46.27% 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.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.19.

Description generated from the measured properties of this color.

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

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

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #9e5db1 ≈ 0.001% of males
Protanopia #006bef ≈ 1.01% of males
Deuteranopia #2c7ce6 ≈ 1.27% of males
Tritanopia #c84e8a ≈ 0.0001% of males
Protanomaly #7754ed ≈ 1.08% of males
Deuteranomaly #8862e8 ≈ 4.63% of males
Tritanomaly #c83db8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c802ea {
  color: #c802ea;
}
Background
.bg-c802ea {
  background-color: #c802ea;
  color: #000000;
}
Border
.border-c802ea {
  border: 2px solid #c802ea;
}
CSS variables
:root {
  --color-primary: #c802ea;
  --color-primary-rgb: 200 2 234;
  --color-primary-hsl: 291 98% 46%;
}
Gradient
.gradient-c802ea {
  background: linear-gradient(135deg, #c802ea, #ea0298);
}
Colored shadow
.shadow-c802ea {
  box-shadow: 0 8px 24px rgb(200 2 234 / 0.35);
}

Electric Purple
#c802ea  rgb(200, 2, 234)  hsl(291, 98%, 46%)  Electric Purple
#24ea02  rgb(36, 234, 2)  hsl(111, 98%, 46%)  Lime
#eac802  rgb(234, 200, 2)  hsl(51, 98%, 46%)  Jonquil
#02eac8  rgb(2, 234, 200)  hsl(171, 98%, 46%)  Turquoise