#C040EB

#c040eb ≈ Medium Orchid

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

#c040eb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 25.1% green and 92.16% blue; printed in CMYK it uses 18.3% cyan, 72.77% magenta, 0% yellow and 7.84% black. Its hue angle is 284.91°, with 81.04% saturation and 58.63% 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.17:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 4.46.

Description generated from the measured properties of this color.

Conversions of #c040eb 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.2087

Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #9d6bb4 ≈ 0.001% of males
Protanopia #0077f0 ≈ 1.01% of males
Deuteranopia #3e82e7 ≈ 1.27% of males
Tritanopia #bd6593 ≈ 0.0001% of males
Protanomaly #7865ee ≈ 1.08% of males
Deuteranomaly #866de9 ≈ 4.63% of males
Tritanomaly #be58bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c040eb {
  color: #c040eb;
}
Background
.bg-c040eb {
  background-color: #c040eb;
  color: #000000;
}
Border
.border-c040eb {
  border: 2px solid #c040eb;
}
CSS variables
:root {
  --color-primary: #c040eb;
  --color-primary-rgb: 192 64 235;
  --color-primary-hsl: 285 81% 59%;
}
Gradient
.gradient-c040eb {
  background: linear-gradient(135deg, #c040eb, #eb40c1);
}
Colored shadow
.shadow-c040eb {
  box-shadow: 0 8px 24px rgb(192 64 235 / 0.35);
}

Medium Orchid
#c040eb  rgb(192, 64, 235)  hsl(285, 81%, 59%)  Medium Orchid
#6beb40  rgb(107, 235, 64)  hsl(105, 81%, 59%)  Neon Green
#ebc040  rgb(235, 192, 64)  hsl(45, 81%, 59%)  Saffron
#40ebc0  rgb(64, 235, 192)  hsl(165, 81%, 59%)  Aquamarine