#8A42C2

#8a42c2 ≈ Dark Orchid

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

#8a42c2 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 76.08% blue; printed in CMYK it uses 28.87% cyan, 65.98% magenta, 0% yellow and 23.92% black. Its hue angle is 273.75°, with 51.2% saturation and 50.98% 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.77:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #8a42c2 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.1319

Readable text 5.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.64:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #765994 ≈ 0.001% of males
Protanopia #0063c6 ≈ 1.01% of males
Deuteranopia #2466bf ≈ 1.27% of males
Tritanopia #815d7c ≈ 0.0001% of males
Protanomaly #5658c4 ≈ 1.08% of males
Deuteranomaly #5e5ac0 ≈ 4.63% of males
Tritanomaly #85549d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Orchid
#8a42c2  rgb(138, 66, 194)  hsl(274, 51%, 51%)  Dark Orchid
#7ac242  rgb(122, 194, 66)  hsl(94, 51%, 51%)  Kelly Green
#c28a42  rgb(194, 138, 66)  hsl(34, 51%, 51%)  Peru
#42c28a  rgb(66, 194, 138)  hsl(154, 51%, 51%)  Caribbean Green