Color: #AB8DF2

#AB8DF2 Color Information

#AB8DF2 is a light color. The closest websafe version is #AB8DF2. A complement of this color would be #D4F28C, perceived brightness is 0.63, and the grayscale version is #BFBFBF.

In the HSL color space, this color has a hue angle of 258°,a saturation of 80%, and a lightness of 75%.The HSV representation shows a hue of 258°, a saturation of 42%, and a value of 95%.

In a RGB color space, #AB8DF2 is composed of 67% red, 55% green and 95% blue. Whereas in a CMYK color space, it is composed of 29% cyan, 42% magenta, 0% yellow and 5% black.

In the Yxy color space, this color is represented as Y: 33.54, x: 0.2891, and y: 0.2382.

Color Code #AB8DF2

#AB8DF2rgb(171, 141, 242)
HEX
#AB8DF2
RGB
rgb(171, 141, 242)
HSL
hsl(258, 80%, 75%)
HSV
hsv(258, 42%, 95%)
CMYK
29%, 42%, 0%, 5%
XYZ
X: 40.72, Y: 33.54, Z: 66.57
Lab
L: 64.59, a: 27.74, b: -47.22
Name

Shades of Color #AB8DF2

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

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

#AB8DF2rgb(171, 141, 242)

About #AB8DF2 Color Code

In the HSL color space, this color has a hue angle of 258°, a saturation of 80%, and a lightness of 75%. The HSV representation shows a hue of 258°, a saturation of 42%, and a value of 95%.

  • HEX: #AB8DF2
  • RGB: rgb(171, 141, 242)
  • HSL: hsl(258, 80%, 75%)
  • HSV: hsv(258, 42%, 95%)
  • CMYK: 29.00% cyan, 42.00% magenta, 0.00% yellow, 5.00% black
  • XYZ: 40.72, 33.54, 66.57
  • Yxy: 33.54, 0.2891, 0.2382
  • Hunter Lab: 64.59, 27.74, -47.22
  • CIE-Lab: 64.59, 27.74, -47.22

In the XYZ color space, this color is represented as X: 40.72, Y: 33.54, Z: 66.57. The Yxy representation further refines this as Y: 33.54, x: 0.2891, and y: 0.2382.

In the Hunter Lab color space, this color is represented as L: 64.59, a: 27.74, and b: -47.22. Similarly, in the CIE-Lab color space, it is represented as L: 64.59, a: 27.74, and b: -47.22.

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

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

Analogous Colors of #AB8DF2

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

Monochromatic Colors of #AB8DF2

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

Complementary Color of #AB8DF2

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

/* Using HEX */
body {
  background-color: #ab8df2;
}
/* Using RGB */
body {
  background-color: rgb(171, 141, 242);
}
/* Using RGB with opacity */
body {
  background-color: rgba(171, 141, 242, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(258, 80%, 75%);
}
/* Text color */
p {
  color: #ab8df2;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #ab8df2;
}
/* Border color */
.box {
  border: 4px solid #ab8df2;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #ab8df2;
}
Text Shadow Preview
/* Background with text */
div {
  background: #ab8df2;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AB8DF2
On Black Background
#AB8DF2
On White Background
#AB8DF2

HTML Examples of #AB8DF2

<!-- Using HEX -->
<div style="background-color: #ab8df2; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(171, 141, 242); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(171, 141, 242, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(258, 80%, 75%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #ab8df2;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #ab8df2; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #ab8df2; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #ab8df2;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #ab8df2; color: #fff; padding: 16px; border-radius: 8px;">
  #AB8DF2
</div>
#AB8DF2
On Black Background
#AB8DF2
On White Background
#AB8DF2

Related Colors of #AB8DF2

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