Color: #8172AD

#8172AD Color Information

#8172AD is a dark color. The closest websafe version is #8172AD. A complement of this color would be #9DAC72, perceived brightness is 0.49, and the grayscale version is #909090.

In the HSL color space, this color has a hue angle of 255°,a saturation of 26%, and a lightness of 56%.The HSV representation shows a hue of 255°, a saturation of 34%, and a value of 68%.

In a RGB color space, #8172AD is composed of 51% red, 45% green and 68% blue. Whereas in a CMYK color space, it is composed of 25% cyan, 34% magenta, 0% yellow and 32% black.

In the Yxy color space, this color is represented as Y: 19.48, x: 0.3006, and y: 0.2658.

Color Code #8172AD

#8172ADrgb(129, 114, 173)
HEX
#8172AD
RGB
rgb(129, 114, 173)
HSL
hsl(255, 26%, 56%)
HSV
hsv(255, 34%, 68%)
CMYK
25%, 34%, 0%, 32%
XYZ
X: 22.03, Y: 19.48, Z: 31.78
Lab
L: 51.24, a: 15.83, b: -29.58
Name

Shades of Color #8172AD

Shades are created by darkening the original color #8172AD in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #8172AD

Tints are created by lightening the original color #8172AD in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#8172ADrgb(129, 114, 173)

About #8172AD Color Code

In the HSL color space, this color has a hue angle of 255°, a saturation of 26%, and a lightness of 56%. The HSV representation shows a hue of 255°, a saturation of 34%, and a value of 68%.

  • HEX: #8172AD
  • RGB: rgb(129, 114, 173)
  • HSL: hsl(255, 26%, 56%)
  • HSV: hsv(255, 34%, 68%)
  • CMYK: 25.00% cyan, 34.00% magenta, 0.00% yellow, 32.00% black
  • XYZ: 22.03, 19.48, 31.78
  • Yxy: 19.48, 0.3006, 0.2658
  • Hunter Lab: 51.24, 15.83, -29.58
  • CIE-Lab: 51.24, 15.83, -29.58

In the XYZ color space, this color is represented as X: 22.03, Y: 19.48, Z: 31.78. The Yxy representation further refines this as Y: 19.48, x: 0.3006, and y: 0.2658.

In the Hunter Lab color space, this color is represented as L: 51.24, a: 15.83, and b: -29.58. Similarly, in the CIE-Lab color space, it is represented as L: 51.24, a: 15.83, and b: -29.58.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #8172AD

Triadic colors are three colors evenly spaced around the color wheel, including #8172AD. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #8172AD

Analogous colors are adjacent to #8172AD on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Split Complementary Colors of #8172AD

Split complementary colors are two colors adjacent to the complementary color of #8172AD. They create a balanced and visually appealing color scheme.

Tetradic Colors of #8172AD

Tetradic colors form a rectangle on the color wheel, including #8172AD. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #8172AD

Monochromatic colors are variations of #8172AD, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #8172AD

The complementary color of #8172AD is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #8172AD

/* Using HEX */
body {
  background-color: #8172ad;
}
/* Using RGB */
body {
  background-color: rgb(129, 114, 173);
}
/* Using RGB with opacity */
body {
  background-color: rgba(129, 114, 173, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(255, 26%, 56%);
}
/* Text color */
p {
  color: #8172ad;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #8172ad;
}
/* Border color */
.box {
  border: 4px solid #8172ad;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #8172ad;
}
Text Shadow Preview
/* Background with text */
div {
  background: #8172ad;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#8172AD
On Black Background
#8172AD
On White Background
#8172AD

HTML Examples of #8172AD

<!-- Using HEX -->
<div style="background-color: #8172ad; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(129, 114, 173); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(129, 114, 173, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(255, 26%, 56%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #8172ad;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #8172ad; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #8172ad; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #8172ad;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #8172ad; color: #fff; padding: 16px; border-radius: 8px;">
  #8172AD
</div>
#8172AD
On Black Background
#8172AD
On White Background
#8172AD

Related Colors of #8172AD

These colors are similar to #8172AD, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.