Color: #AF8AFC

#AF8AFC Color Information

#AF8AFC is a light color. The closest websafe version is #AF8AFC. A complement of this color would be #D7FC88, perceived brightness is 0.64, and the grayscale version is #C3C3C3.

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

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

In the Yxy color space, this color is represented as Y: 33.66, x: 0.2853, and y: 0.2264.

Color Code #AF8AFC

#AF8AFCrgb(175, 138, 252)
HEX
#AF8AFC
RGB
rgb(175, 138, 252)
HSL
hsl(259, 95%, 76%)
HSV
hsv(259, 45%, 99%)
CMYK
31%, 45%, 0%, 1%
XYZ
X: 42.41, Y: 33.66, Z: 72.59
Lab
L: 64.69, a: 32.44, b: -52.51
Name

Shades of Color #AF8AFC

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

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

#AF8AFCrgb(175, 138, 252)

About #AF8AFC Color Code

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

  • HEX: #AF8AFC
  • RGB: rgb(175, 138, 252)
  • HSL: hsl(259, 95%, 76%)
  • HSV: hsv(259, 45%, 99%)
  • CMYK: 31.00% cyan, 45.00% magenta, 0.00% yellow, 100.00% black
  • XYZ: 42.41, 33.66, 72.59
  • Yxy: 33.66, 0.2853, 0.2264
  • Hunter Lab: 64.69, 32.44, -52.51
  • CIE-Lab: 64.69, 32.44, -52.51

In the XYZ color space, this color is represented as X: 42.41, Y: 33.66, Z: 72.59. The Yxy representation further refines this as Y: 33.66, x: 0.2853, and y: 0.2264.

In the Hunter Lab color space, this color is represented as L: 64.69, a: 32.44, and b: -52.51. Similarly, in the CIE-Lab color space, it is represented as L: 64.69, a: 32.44, and b: -52.51.

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

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

Analogous Colors of #AF8AFC

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

Split Complementary Colors of #AF8AFC

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

Tetradic Colors of #AF8AFC

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

Monochromatic Colors of #AF8AFC

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

Complementary Color of #AF8AFC

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

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

HTML Examples of #AF8AFC

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

Related Colors of #AF8AFC

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