#CD42FF

#cd42ff ≈ Medium Orchid

  • magenta
  • Lightness: high
  • Saturation: strong
  • Cool

#cd42ff is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 80.39% red, 25.88% green and 100% blue; printed in CMYK it uses 19.61% cyan, 74.12% magenta, 0% yellow and 0% black. Its hue angle is 284.13°, with 100% saturation and 62.94% 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.82:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 6.3.

Description generated from the measured properties of this color.

Conversions of #cd42ff 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.241

Readable text 3.61:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #a771c3 ≈ 0.001% of males
Protanopia #007fff ≈ 1.01% of males
Deuteranopia #3b8afb ≈ 1.27% of males
Tritanopia #c96c9f ≈ 0.0001% of males
Protanomaly #7f6cff ≈ 1.08% of males
Deuteranomaly #8e74fd ≈ 4.63% of males
Tritanomaly #cb5ecc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd42ff {
  color: #cd42ff;
}
Background
.bg-cd42ff {
  background-color: #cd42ff;
  color: #000000;
}
Border
.border-cd42ff {
  border: 2px solid #cd42ff;
}
CSS variables
:root {
  --color-primary: #cd42ff;
  --color-primary-rgb: 205 66 255;
  --color-primary-hsl: 284 100% 63%;
}
Gradient
.gradient-cd42ff {
  background: linear-gradient(135deg, #cd42ff, #ff42d2);
}
Colored shadow
.shadow-cd42ff {
  box-shadow: 0 8px 24px rgb(205 66 255 / 0.35);
}

Medium Orchid
#cd42ff  rgb(205, 66, 255)  hsl(284, 100%, 63%)  Medium Orchid
#74ff42  rgb(116, 255, 66)  hsl(104, 100%, 63%)  Harlequin
#ffcd42  rgb(255, 205, 66)  hsl(44, 100%, 63%)  Sunglow
#42ffcd  rgb(66, 255, 205)  hsl(164, 100%, 63%)  Aquamarine