#C340F8

#c340f8 ≈ Electric Purple

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

#c340f8 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 97.25% blue; printed in CMYK it uses 21.37% cyan, 74.19% magenta, 0% yellow and 2.75% black. Its hue angle is 282.72°, with 92.93% saturation and 61.18% 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.41:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.02.

Description generated from the measured properties of this color.

Conversions of #c340f8 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.2205

Readable text 3.88:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a06dbd ≈ 0.001% of males
Protanopia #007afd ≈ 1.01% of males
Deuteranopia #3184f4 ≈ 1.27% of males
Tritanopia #be6a9a ≈ 0.0001% of males
Protanomaly #7768fb ≈ 1.08% of males
Deuteranomaly #866ff6 ≈ 4.63% of males
Tritanomaly #c05cc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c340f8 {
  color: #c340f8;
}
Background
.bg-c340f8 {
  background-color: #c340f8;
  color: #000000;
}
Border
.border-c340f8 {
  border: 2px solid #c340f8;
}
CSS variables
:root {
  --color-primary: #c340f8;
  --color-primary-rgb: 195 64 248;
  --color-primary-hsl: 283 93% 61%;
}
Gradient
.gradient-c340f8 {
  background: linear-gradient(135deg, #c340f8, #f840d1);
}
Colored shadow
.shadow-c340f8 {
  box-shadow: 0 8px 24px rgb(195 64 248 / 0.35);
}

Electric Purple
#c340f8  rgb(195, 64, 248)  hsl(283, 93%, 61%)  Electric Purple
#75f840  rgb(117, 248, 64)  hsl(103, 93%, 61%)  Lawn Green
#f8c340  rgb(248, 195, 64)  hsl(43, 93%, 61%)  Saffron
#40f8c3  rgb(64, 248, 195)  hsl(163, 93%, 61%)  Aquamarine