Color: #AF8CEC

#AF8CEC Color Information

#AF8CEC is a light color. The closest websafe version is #AF8CEC. A complement of this color would be #C9EC8D, perceived brightness is 0.63, and the grayscale version is #BCBCBC.

In the HSL color space, this color has a hue angle of 262°,a saturation of 72%, and a lightness of 74%.The HSV representation shows a hue of 262°, a saturation of 41%, and a value of 93%.

In a RGB color space, #AF8CEC is composed of 69% red, 55% green and 93% blue. Whereas in a CMYK color space, it is composed of 26% cyan, 41% magenta, 0% yellow and 7% black.

In the Yxy color space, this color is represented as Y: 33.42, x: 0.2972, and y: 0.2435.

Color Code #AF8CEC

#AF8CECrgb(175, 140, 236)
HEX
#AF8CEC
RGB
rgb(175, 140, 236)
HSL
hsl(262, 72%, 74%)
HSV
hsv(262, 41%, 93%)
CMYK
26%, 41%, 0%, 7%
XYZ
X: 40.79, Y: 33.42, Z: 63.05
Lab
L: 64.50, a: 28.36, b: -44.04
Name

Shades of Color #AF8CEC

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

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

#AF8CECrgb(175, 140, 236)

About #AF8CEC Color Code

In the HSL color space, this color has a hue angle of 262°, a saturation of 72%, and a lightness of 74%. The HSV representation shows a hue of 262°, a saturation of 41%, and a value of 93%.

  • HEX: #AF8CEC
  • RGB: rgb(175, 140, 236)
  • HSL: hsl(262, 72%, 74%)
  • HSV: hsv(262, 41%, 93%)
  • CMYK: 26.00% cyan, 41.00% magenta, 0.00% yellow, 7.00% black
  • XYZ: 40.79, 33.42, 63.05
  • Yxy: 33.42, 0.2972, 0.2435
  • Hunter Lab: 64.50, 28.36, -44.04
  • CIE-Lab: 64.50, 28.36, -44.04

In the XYZ color space, this color is represented as X: 40.79, Y: 33.42, Z: 63.05. The Yxy representation further refines this as Y: 33.42, x: 0.2972, and y: 0.2435.

In the Hunter Lab color space, this color is represented as L: 64.50, a: 28.36, and b: -44.04. Similarly, in the CIE-Lab color space, it is represented as L: 64.50, a: 28.36, and b: -44.04.

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

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

Analogous Colors of #AF8CEC

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

Split Complementary Colors of #AF8CEC

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

Tetradic Colors of #AF8CEC

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

Monochromatic Colors of #AF8CEC

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

Complementary Color of #AF8CEC

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

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

HTML Examples of #AF8CEC

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

Related Colors of #AF8CEC

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