#C340FC

#c340fc ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#c340fc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.47% red, 25.1% green and 98.82% blue; printed in CMYK it uses 22.62% cyan, 74.6% magenta, 0% yellow and 1.18% black. Its hue angle is 281.81°, with 96.91% saturation and 61.96% 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 5.46:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.09.

Description generated from the measured properties of this color.

Conversions of #c340fc 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.223

Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.46:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #a06dbf ≈ 0.001% of males
Protanopia #007bff ≈ 1.01% of males
Deuteranopia #2a85f8 ≈ 1.27% of males
Tritanopia #bd6c9c ≈ 0.0001% of males
Protanomaly #7669ff ≈ 1.08% of males
Deuteranomaly #8470fa ≈ 4.63% of males
Tritanomaly #bf5dca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c340fc {
  color: #c340fc;
}
Background
.bg-c340fc {
  background-color: #c340fc;
  color: #000000;
}
Border
.border-c340fc {
  border: 2px solid #c340fc;
}
CSS variables
:root {
  --color-primary: #c340fc;
  --color-primary-rgb: 195 64 252;
  --color-primary-hsl: 282 97% 62%;
}
Gradient
.gradient-c340fc {
  background: linear-gradient(135deg, #c340fc, #fc40d7);
}
Colored shadow
.shadow-c340fc {
  box-shadow: 0 8px 24px rgb(195 64 252 / 0.35);
}

Electric Purple
#c340fc  rgb(195, 64, 252)  hsl(282, 97%, 62%)  Electric Purple
#79fc40  rgb(121, 252, 64)  hsl(102, 97%, 62%)  Lawn Green
#fcc340  rgb(252, 195, 64)  hsl(42, 97%, 62%)  Amber
#40fcc3  rgb(64, 252, 195)  hsl(162, 97%, 62%)  Aquamarine