#C102FF

#c102ff ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #c102ff 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.186

Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9a5ebd ≈ 0.001% of males
Protanopia #0070ff ≈ 1.01% of males
Deuteranopia #007bfb ≈ 1.27% of males
Tritanopia #ba5c96 ≈ 0.0001% of males
Protanomaly #6858ff ≈ 1.08% of males
Deuteranomaly #7a61fc ≈ 4.63% of males
Tritanomaly #bd48c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#c102ff  rgb(193, 2, 255)  hsl(285, 100%, 50%)  Electric Purple
#40ff02  rgb(64, 255, 2)  hsl(105, 100%, 50%)  Harlequin
#ffc102  rgb(255, 193, 2)  hsl(45, 100%, 50%)  Amber
#02ffc1  rgb(2, 255, 193)  hsl(165, 100%, 50%)  Aquamarine