#C02BEC

#c02bec ≈ Electric Purple

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

#c02bec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 16.86% green and 92.55% blue; printed in CMYK it uses 18.64% cyan, 81.78% magenta, 0% yellow and 7.45% black. Its hue angle is 286.32°, with 83.55% saturation and 54.71% 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.8:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.9.

Description generated from the measured properties of this color.

Conversions of #c02bec 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.1899

Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #9a63b3 ≈ 0.001% of males
Protanopia #0070f1 ≈ 1.01% of males
Deuteranopia #2a7de8 ≈ 1.27% of males
Tritanopia #bd5b8f ≈ 0.0001% of males
Protanomaly #735cef ≈ 1.08% of males
Deuteranomaly #8266ea ≈ 4.63% of males
Tritanomaly #be4cbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c02bec {
  color: #c02bec;
}
Background
.bg-c02bec {
  background-color: #c02bec;
  color: #000000;
}
Border
.border-c02bec {
  border: 2px solid #c02bec;
}
CSS variables
:root {
  --color-primary: #c02bec;
  --color-primary-rgb: 192 43 236;
  --color-primary-hsl: 286 84% 55%;
}
Gradient
.gradient-c02bec {
  background: linear-gradient(135deg, #c02bec, #ec2bb8);
}
Colored shadow
.shadow-c02bec {
  box-shadow: 0 8px 24px rgb(192 43 236 / 0.35);
}

Electric Purple
#c02bec  rgb(192, 43, 236)  hsl(286, 84%, 55%)  Electric Purple
#57ec2b  rgb(87, 236, 43)  hsl(106, 84%, 55%)  Neon Green
#ecc02b  rgb(236, 192, 43)  hsl(46, 84%, 55%)  Saffron
#2becc0  rgb(43, 236, 192)  hsl(166, 84%, 55%)  Aquamarine