Color: #AF7FCC

#AF7FCC Color Information

#AF7FCC is a light color. The closest websafe version is #AF7FCC. A complement of this color would be #9DCC7F, perceived brightness is 0.59, and the grayscale version is #A6A6A6.

In the HSL color space, this color has a hue angle of 277°,a saturation of 43%, and a lightness of 65%.The HSV representation shows a hue of 277°, a saturation of 38%, and a value of 80%.

In a RGB color space, #AF7FCC is composed of 69% red, 50% green and 80% blue. Whereas in a CMYK color space, it is composed of 14% cyan, 38% magenta, 0% yellow and 20% black.

In the Yxy color space, this color is represented as Y: 28.41, x: 0.3237, and y: 0.2590.

Color Code #AF7FCC

#AF7FCCrgb(175, 127, 204)
HEX
#AF7FCC
RGB
rgb(175, 127, 204)
HSL
hsl(277, 43%, 65%)
HSV
hsv(277, 38%, 80%)
CMYK
14%, 38%, 0%, 20%
XYZ
X: 35.51, Y: 28.41, Z: 45.78
Lab
L: 60.26, a: 29.67, b: -32.86
Name

Shades of Color #AF7FCC

Shades are created by darkening the original color #AF7FCC 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 #AF7FCC

Tints are created by lightening the original color #AF7FCC 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.

#AF7FCCrgb(175, 127, 204)

About #AF7FCC Color Code

In the HSL color space, this color has a hue angle of 277°, a saturation of 43%, and a lightness of 65%. The HSV representation shows a hue of 277°, a saturation of 38%, and a value of 80%.

  • HEX: #AF7FCC
  • RGB: rgb(175, 127, 204)
  • HSL: hsl(277, 43%, 65%)
  • HSV: hsv(277, 38%, 80%)
  • CMYK: 14.00% cyan, 38.00% magenta, 0.00% yellow, 20.00% black
  • XYZ: 35.51, 28.41, 45.78
  • Yxy: 28.41, 0.3237, 0.2590
  • Hunter Lab: 60.26, 29.67, -32.86
  • CIE-Lab: 60.26, 29.67, -32.86

In the XYZ color space, this color is represented as X: 35.51, Y: 28.41, Z: 45.78. The Yxy representation further refines this as Y: 28.41, x: 0.3237, and y: 0.2590.

In the Hunter Lab color space, this color is represented as L: 60.26, a: 29.67, and b: -32.86. Similarly, in the CIE-Lab color space, it is represented as L: 60.26, a: 29.67, and b: -32.86.

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 #AF7FCC

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

Analogous Colors of #AF7FCC

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

Monochromatic Colors of #AF7FCC

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

Complementary Color of #AF7FCC

The complementary color of #AF7FCC 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 #AF7FCC

/* Using HEX */
body {
  background-color: #af7fcc;
}
/* Using RGB */
body {
  background-color: rgb(175, 127, 204);
}
/* Using RGB with opacity */
body {
  background-color: rgba(175, 127, 204, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(277, 43%, 65%);
}
/* Text color */
p {
  color: #af7fcc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #af7fcc;
}
/* Border color */
.box {
  border: 4px solid #af7fcc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #af7fcc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #af7fcc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AF7FCC
On Black Background
#AF7FCC
On White Background
#AF7FCC

HTML Examples of #AF7FCC

<!-- Using HEX -->
<div style="background-color: #af7fcc; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(175, 127, 204); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(175, 127, 204, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(277, 43%, 65%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #af7fcc;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #af7fcc; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #af7fcc; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #af7fcc;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #af7fcc; color: #fff; padding: 16px; border-radius: 8px;">
  #AF7FCC
</div>
#AF7FCC
On Black Background
#AF7FCC
On White Background
#AF7FCC

Related Colors of #AF7FCC

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