#8166AC

#8166ac ≈ Royal Purple

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#8166ac is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 50.59% red, 40% green and 67.45% blue; printed in CMYK it uses 25% cyan, 40.7% magenta, 0% yellow and 32.55% black. Its hue angle is 263.14°, with 29.66% saturation and 53.73% 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 4.74:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 6.91.

Description generated from the measured properties of this color.

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

Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #796e8d ≈ 0.001% of males
Protanopia #5473af ≈ 1.01% of males
Deuteranopia #5973aa ≈ 1.27% of males
Tritanopia #797281 ≈ 0.0001% of males
Protanomaly #696eae ≈ 1.08% of males
Deuteranomaly #6b6eab ≈ 4.63% of males
Tritanomaly #7c6d94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8166ac {
  color: #8166ac;
}
Background
.bg-8166ac {
  background-color: #8166ac;
  color: #ffffff;
}
Border
.border-8166ac {
  border: 2px solid #8166ac;
}
CSS variables
:root {
  --color-primary: #8166ac;
  --color-primary-rgb: 129 102 172;
  --color-primary-hsl: 263 30% 54%;
}
Gradient
.gradient-8166ac {
  background: linear-gradient(135deg, #8166ac, #a466ac);
}
Colored shadow
.shadow-8166ac {
  box-shadow: 0 8px 24px rgb(129 102 172 / 0.35);
}

Royal Purple
#8166ac  rgb(129, 102, 172)  hsl(263, 30%, 54%)  Royal Purple
#91ac66  rgb(145, 172, 102)  hsl(83, 30%, 54%)  Asparagus
#ac8166  rgb(172, 129, 102)  hsl(23, 30%, 54%)  Cafe au Lait
#66ac81  rgb(102, 172, 129)  hsl(143, 30%, 54%)  Mint