#CD5AF2

#cd5af2 ≈ Medium Orchid

  • magenta
  • Lightness: high
  • Saturation: strong
  • Balanced

#cd5af2 is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 80.39% red, 35.29% green and 94.9% blue; printed in CMYK it uses 15.29% cyan, 62.81% magenta, 0% yellow and 5.1% black. Its hue angle is 285.39°, with 85.39% saturation and 65.1% 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 6.34:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.46.

Description generated from the measured properties of this color.

Conversions of #cd5af2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc66ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.267

Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #aa7cbe ≈ 0.001% of males
Protanopia #2586f7 ≈ 1.01% of males
Deuteranopia #5d91ee ≈ 1.27% of males
Tritanopia #cb759e ≈ 0.0001% of males
Protanomaly #8a77f5 ≈ 1.08% of males
Deuteranomaly #977ef0 ≈ 4.63% of males
Tritanomaly #cc6bc5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd5af2 {
  color: #cd5af2;
}
Background
.bg-cd5af2 {
  background-color: #cd5af2;
  color: #000000;
}
Border
.border-cd5af2 {
  border: 2px solid #cd5af2;
}
CSS variables
:root {
  --color-primary: #cd5af2;
  --color-primary-rgb: 205 90 242;
  --color-primary-hsl: 285 85% 65%;
}
Gradient
.gradient-cd5af2 {
  background: linear-gradient(135deg, #cd5af2, #f25acb);
}
Colored shadow
.shadow-cd5af2 {
  box-shadow: 0 8px 24px rgb(205 90 242 / 0.35);
}

Medium Orchid
#cd5af2  rgb(205, 90, 242)  hsl(285, 85%, 65%)  Medium Orchid
#7ff25a  rgb(127, 242, 90)  hsl(105, 85%, 65%)  Lawn Green
#f2cd5a  rgb(242, 205, 90)  hsl(45, 85%, 65%)  Naples Yellow
#5af2cd  rgb(90, 242, 205)  hsl(165, 85%, 65%)  Aquamarine