#C340F5

#c340f5 ≈ Electric Purple

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

#c340f5 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 96.08% blue; printed in CMYK it uses 20.41% cyan, 73.88% magenta, 0% yellow and 3.92% black. Its hue angle is 283.43°, with 90.05% saturation and 60.59% 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.37: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 #c340f5 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.2186

Readable text 3.91:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.37:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a06dbb ≈ 0.001% of males
Protanopia #007afa ≈ 1.01% of males
Deuteranopia #3684f1 ≈ 1.27% of males
Tritanopia #bf6898 ≈ 0.0001% of males
Protanomaly #7867f8 ≈ 1.08% of males
Deuteranomaly #866ff3 ≈ 4.63% of males
Tritanomaly #c05bc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#c340f5  rgb(195, 64, 245)  hsl(283, 90%, 61%)  Electric Purple
#72f540  rgb(114, 245, 64)  hsl(103, 90%, 61%)  Lawn Green
#f5c340  rgb(245, 195, 64)  hsl(43, 90%, 61%)  Saffron
#40f5c3  rgb(64, 245, 195)  hsl(163, 90%, 61%)  Aquamarine