#8166CC

#8166cc ≈ Medium Purple

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

#8166cc 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 80% blue; printed in CMYK it uses 36.76% cyan, 50% magenta, 0% yellow and 20% black. Its hue angle is 255.88°, with 50% saturation and 60% 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. Black text on this color reaches a contrast ratio of 4.71:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.91.

Description generated from the measured properties of this color.

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

Readable text 4.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #7b71a0 ≈ 0.001% of males
Protanopia #3f79d0 ≈ 1.01% of males
Deuteranopia #4475ca ≈ 1.27% of males
Tritanopia #6f7a8f ≈ 0.0001% of males
Protanomaly #6072ce ≈ 1.08% of males
Deuteranomaly #6270cb ≈ 4.63% of males
Tritanomaly #7673ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8166cc {
  color: #8166cc;
}
Background
.bg-8166cc {
  background-color: #8166cc;
  color: #000000;
}
Border
.border-8166cc {
  border: 2px solid #8166cc;
}
CSS variables
:root {
  --color-primary: #8166cc;
  --color-primary-rgb: 129 102 204;
  --color-primary-hsl: 256 50% 60%;
}
Gradient
.gradient-8166cc {
  background: linear-gradient(135deg, #8166cc, #b466cc);
}
Colored shadow
.shadow-8166cc {
  box-shadow: 0 8px 24px rgb(129 102 204 / 0.35);
}

Medium Purple
#8166cc  rgb(129, 102, 204)  hsl(256, 50%, 60%)  Medium Purple
#b1cc66  rgb(177, 204, 102)  hsl(76, 50%, 60%)  June Bud
#cc8166  rgb(204, 129, 102)  hsl(16, 50%, 60%)  Terra Cotta
#66cc81  rgb(102, 204, 129)  hsl(136, 50%, 60%)  Emerald