#A540CF

#a540cf ≈ Dark Orchid

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

#a540cf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 64.71% red, 25.1% green and 81.18% blue; printed in CMYK it uses 20.29% cyan, 69.08% magenta, 0% yellow and 18.82% black. Its hue angle is 282.38°, with 59.83% saturation and 53.14% 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 brand accents. White text on this color reaches a contrast ratio of 4.96:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 3.86.

Description generated from the measured properties of this color.

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

Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #88609f ≈ 0.001% of males
Protanopia #006ad3 ≈ 1.01% of males
Deuteranopia #3872cc ≈ 1.27% of males
Tritanopia #a15d83 ≈ 0.0001% of males
Protanomaly #695cd2 ≈ 1.08% of males
Deuteranomaly #7462cd ≈ 4.63% of males
Tritanomaly #a353a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a540cf {
  color: #a540cf;
}
Background
.bg-a540cf {
  background-color: #a540cf;
  color: #ffffff;
}
Border
.border-a540cf {
  border: 2px solid #a540cf;
}
CSS variables
:root {
  --color-primary: #a540cf;
  --color-primary-rgb: 165 64 207;
  --color-primary-hsl: 282 60% 53%;
}
Gradient
.gradient-a540cf {
  background: linear-gradient(135deg, #a540cf, #cf40b1);
}
Colored shadow
.shadow-a540cf {
  box-shadow: 0 8px 24px rgb(165 64 207 / 0.35);
}

Dark Orchid
#a540cf  rgb(165, 64, 207)  hsl(282, 60%, 53%)  Dark Orchid
#6acf40  rgb(106, 207, 64)  hsl(102, 60%, 53%)  Lime Green
#cfa540  rgb(207, 165, 64)  hsl(42, 60%, 53%)  Goldenrod
#40cfa5  rgb(64, 207, 165)  hsl(162, 60%, 53%)  Caribbean Green