#C021F8

#c021f8 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#c021f8 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 97.25% blue; printed in CMYK it uses 22.58% cyan, 86.69% magenta, 0% yellow and 2.75% black. Its hue angle is 284.37°, with 93.89% saturation and 55.1% lightness in HSL. It is a cool color, 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.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.54.

Description generated from the measured properties of this color.

Conversions of #c021f8 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.1907

Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #9a61ba ≈ 0.001% of males
Protanopia #0071fd ≈ 1.01% of males
Deuteranopia #007cf4 ≈ 1.27% of males
Tritanopia #ba5e94 ≈ 0.0001% of males
Protanomaly #6d5bfb ≈ 1.08% of males
Deuteranomaly #7d64f6 ≈ 4.63% of males
Tritanomaly #bd4cc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c021f8 {
  color: #c021f8;
}
Background
.bg-c021f8 {
  background-color: #c021f8;
  color: #000000;
}
Border
.border-c021f8 {
  border: 2px solid #c021f8;
}
CSS variables
:root {
  --color-primary: #c021f8;
  --color-primary-rgb: 192 33 248;
  --color-primary-hsl: 284 94% 55%;
}
Gradient
.gradient-c021f8 {
  background: linear-gradient(135deg, #c021f8, #f821c5);
}
Colored shadow
.shadow-c021f8 {
  box-shadow: 0 8px 24px rgb(192 33 248 / 0.35);
}

Electric Purple
#c021f8  rgb(192, 33, 248)  hsl(284, 94%, 55%)  Electric Purple
#59f821  rgb(89, 248, 33)  hsl(104, 94%, 55%)  Harlequin
#f8c021  rgb(248, 192, 33)  hsl(44, 94%, 55%)  Golden Poppy
#21f8c0  rgb(33, 248, 192)  hsl(164, 94%, 55%)  Aquamarine