#C302FF

#c302ff ≈ Electric Purple

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

#c302ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.47% red, 0.78% green and 100% blue; printed in CMYK it uses 23.53% cyan, 99.22% magenta, 0% yellow and 0% black. Its hue angle is 285.77°, with 100% saturation and 50.39% 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.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.79.

Description generated from the measured properties of this color.

Conversions of #c302ff 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.1887

Readable text 4.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9c5fbe ≈ 0.001% of males
Protanopia #0070ff ≈ 1.01% of males
Deuteranopia #007cfb ≈ 1.27% of males
Tritanopia #bd5b96 ≈ 0.0001% of males
Protanomaly #6b58ff ≈ 1.08% of males
Deuteranomaly #7c61fc ≈ 4.63% of males
Tritanomaly #bf47c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c302ff {
  color: #c302ff;
}
Background
.bg-c302ff {
  background-color: #c302ff;
  color: #000000;
}
Border
.border-c302ff {
  border: 2px solid #c302ff;
}
CSS variables
:root {
  --color-primary: #c302ff;
  --color-primary-rgb: 195 2 255;
  --color-primary-hsl: 286 100% 50%;
}
Gradient
.gradient-c302ff {
  background: linear-gradient(135deg, #c302ff, #ff02bd);
}
Colored shadow
.shadow-c302ff {
  box-shadow: 0 8px 24px rgb(195 2 255 / 0.35);
}

Electric Purple
#c302ff  rgb(195, 2, 255)  hsl(286, 100%, 50%)  Electric Purple
#3eff02  rgb(62, 255, 2)  hsl(106, 100%, 50%)  Harlequin
#ffc302  rgb(255, 195, 2)  hsl(46, 100%, 50%)  Mikado Yellow
#02ffc3  rgb(2, 255, 195)  hsl(166, 100%, 50%)  Aquamarine