#C338EA

#c338ea ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#c338ea is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.47% red, 21.96% green and 91.76% blue; printed in CMYK it uses 16.67% cyan, 76.07% magenta, 0% yellow and 8.24% black. Its hue angle is 286.85°, with 80.91% saturation and 56.86% 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 5.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.42.

Description generated from the measured properties of this color.

Conversions of #c338ea 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.2037

Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #9e68b3 ≈ 0.001% of males
Protanopia #0074ef ≈ 1.01% of males
Deuteranopia #3d81e6 ≈ 1.27% of males
Tritanopia #c15f90 ≈ 0.0001% of males
Protanomaly #7962ed ≈ 1.08% of males
Deuteranomaly #886be8 ≈ 4.63% of males
Tritanomaly #c252bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c338ea {
  color: #c338ea;
}
Background
.bg-c338ea {
  background-color: #c338ea;
  color: #000000;
}
Border
.border-c338ea {
  border: 2px solid #c338ea;
}
CSS variables
:root {
  --color-primary: #c338ea;
  --color-primary-rgb: 195 56 234;
  --color-primary-hsl: 287 81% 57%;
}
Gradient
.gradient-c338ea {
  background: linear-gradient(135deg, #c338ea, #ea38b8);
}
Colored shadow
.shadow-c338ea {
  box-shadow: 0 8px 24px rgb(195 56 234 / 0.35);
}

Electric Purple
#c338ea  rgb(195, 56, 234)  hsl(287, 81%, 57%)  Electric Purple
#5fea38  rgb(95, 234, 56)  hsl(107, 81%, 57%)  Neon Green
#eac338  rgb(234, 195, 56)  hsl(47, 81%, 57%)  Saffron
#38eac3  rgb(56, 234, 195)  hsl(167, 81%, 57%)  Aquamarine