Color: #AF8CFC

#AF8CFC Color Information

#AF8CFC is a light color. The closest websafe version is #AF8CFC. A complement of this color would be #D9FC8D, perceived brightness is 0.64, and the grayscale version is #C4C4C4.

In the HSL color space, this color has a hue angle of 259°,a saturation of 95%, and a lightness of 77%.The HSV representation shows a hue of 259°, a saturation of 44%, and a value of 99%.

In a RGB color space, #AF8CFC is composed of 69% red, 55% green and 99% blue. Whereas in a CMYK color space, it is composed of 31% cyan, 44% magenta, 0% yellow and 1% black.

In the Yxy color space, this color is represented as Y: 34.24, x: 0.2855, and y: 0.2288.

Color Code #AF8CFC

#AF8CFCrgb(175, 140, 252)
HEX
#AF8CFC
RGB
rgb(175, 140, 252)
HSL
hsl(259, 95%, 77%)
HSV
hsv(259, 44%, 99%)
CMYK
31%, 44%, 0%, 1%
XYZ
X: 42.72, Y: 34.24, Z: 72.66
Lab
L: 65.15, a: 31.38, b: -51.78
Name

Shades of Color #AF8CFC

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

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

#AF8CFCrgb(175, 140, 252)

About #AF8CFC Color Code

In the HSL color space, this color has a hue angle of 259°, a saturation of 95%, and a lightness of 77%. The HSV representation shows a hue of 259°, a saturation of 44%, and a value of 99%.

  • HEX: #AF8CFC
  • RGB: rgb(175, 140, 252)
  • HSL: hsl(259, 95%, 77%)
  • HSV: hsv(259, 44%, 99%)
  • CMYK: 31.00% cyan, 44.00% magenta, 0.00% yellow, 100.00% black
  • XYZ: 42.72, 34.24, 72.66
  • Yxy: 34.24, 0.2855, 0.2288
  • Hunter Lab: 65.15, 31.38, -51.78
  • CIE-Lab: 65.15, 31.38, -51.78

In the XYZ color space, this color is represented as X: 42.72, Y: 34.24, Z: 72.66. The Yxy representation further refines this as Y: 34.24, x: 0.2855, and y: 0.2288.

In the Hunter Lab color space, this color is represented as L: 65.15, a: 31.38, and b: -51.78. Similarly, in the CIE-Lab color space, it is represented as L: 65.15, a: 31.38, and b: -51.78.

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

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

Analogous Colors of #AF8CFC

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

Split Complementary Colors of #AF8CFC

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

Tetradic Colors of #AF8CFC

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

Monochromatic Colors of #AF8CFC

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

Complementary Color of #AF8CFC

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

/* Using HEX */
body {
  background-color: #af8cfc;
}
/* Using RGB */
body {
  background-color: rgb(175, 140, 252);
}
/* Using RGB with opacity */
body {
  background-color: rgba(175, 140, 252, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(259, 95%, 77%);
}
/* Text color */
p {
  color: #af8cfc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #af8cfc;
}
/* Border color */
.box {
  border: 4px solid #af8cfc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #af8cfc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #af8cfc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AF8CFC
On Black Background
#AF8CFC
On White Background
#AF8CFC

HTML Examples of #AF8CFC

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

Related Colors of #AF8CFC

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