#8A42CF

#8a42cf ≈ Dark Orchid

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#8a42cf is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 25.88% green and 81.18% blue; printed in CMYK it uses 33.33% cyan, 68.12% magenta, 0% yellow and 18.82% black. Its hue angle is 270.64°, with 59.49% saturation and 53.53% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 5.58:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 3.47.

Description generated from the measured properties of this color.

Conversions of #8a42cf 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.138

Readable text 5.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #775b9c ≈ 0.001% of males
Protanopia #0066d3 ≈ 1.01% of males
Deuteranopia #0068cc ≈ 1.27% of males
Tritanopia #7d6283 ≈ 0.0001% of males
Protanomaly #515ad2 ≈ 1.08% of males
Deuteranomaly #595bcd ≈ 4.63% of males
Tritanomaly #8257a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a42cf {
  color: #8a42cf;
}
Background
.bg-8a42cf {
  background-color: #8a42cf;
  color: #ffffff;
}
Border
.border-8a42cf {
  border: 2px solid #8a42cf;
}
CSS variables
:root {
  --color-primary: #8a42cf;
  --color-primary-rgb: 138 66 207;
  --color-primary-hsl: 271 59% 54%;
}
Gradient
.gradient-8a42cf {
  background: linear-gradient(135deg, #8a42cf, #cf42cd);
}
Colored shadow
.shadow-8a42cf {
  box-shadow: 0 8px 24px rgb(138 66 207 / 0.35);
}

Dark Orchid
#8a42cf  rgb(138, 66, 207)  hsl(271, 59%, 54%)  Dark Orchid
#87cf42  rgb(135, 207, 66)  hsl(91, 59%, 54%)  Yellow Green
#cf8a42  rgb(207, 138, 66)  hsl(31, 59%, 54%)  Peru
#42cf8a  rgb(66, 207, 138)  hsl(151, 59%, 54%)  Emerald