#CD31EA

#cd31ea ≈ Medium Orchid

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

#cd31ea is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 19.22% green and 91.76% blue; printed in CMYK it uses 12.39% cyan, 79.06% magenta, 0% yellow and 8.24% black. Its hue angle is 290.59°, with 81.5% saturation and 55.49% 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.22:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.17.

Description generated from the measured properties of this color.

Conversions of #cd31ea 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.2112

Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a468b4 ≈ 0.001% of males
Protanopia #0074ef ≈ 1.01% of males
Deuteranopia #4784e6 ≈ 1.27% of males
Tritanopia #ce5a8f ≈ 0.0001% of males
Protanomaly #8160ed ≈ 1.08% of males
Deuteranomaly #916ce8 ≈ 4.63% of males
Tritanomaly #ce4dba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd31ea {
  color: #cd31ea;
}
Background
.bg-cd31ea {
  background-color: #cd31ea;
  color: #000000;
}
Border
.border-cd31ea {
  border: 2px solid #cd31ea;
}
CSS variables
:root {
  --color-primary: #cd31ea;
  --color-primary-rgb: 205 49 234;
  --color-primary-hsl: 291 82% 55%;
}
Gradient
.gradient-cd31ea {
  background: linear-gradient(135deg, #cd31ea, #ea31ab);
}
Colored shadow
.shadow-cd31ea {
  box-shadow: 0 8px 24px rgb(205 49 234 / 0.35);
}

Medium Orchid
#cd31ea  rgb(205, 49, 234)  hsl(291, 82%, 55%)  Medium Orchid
#4eea31  rgb(78, 234, 49)  hsl(111, 82%, 55%)  Neon Green
#eacd31  rgb(234, 205, 49)  hsl(51, 82%, 55%)  Citrine
#31eacd  rgb(49, 234, 205)  hsl(171, 82%, 55%)  Turquoise