Color: #AB98CF

#AB98CF Color Information

#AB98CF is a light color. The closest websafe version is #AB98CF. A complement of this color would be #BBCE97, perceived brightness is 0.64, and the grayscale version is #B3B3B3.

In the HSL color space, this color has a hue angle of 261°,a saturation of 36%, and a lightness of 70%.The HSV representation shows a hue of 261°, a saturation of 27%, and a value of 81%.

In a RGB color space, #AB98CF is composed of 67% red, 60% green and 81% blue. Whereas in a CMYK color space, it is composed of 17% cyan, 27% magenta, 0% yellow and 19% black.

In the Yxy color space, this color is represented as Y: 35.35, x: 0.3171, and y: 0.2890.

Color Code #AB98CF

#AB98CFrgb(171, 152, 207)
HEX
#AB98CF
RGB
rgb(171, 152, 207)
HSL
hsl(261, 36%, 70%)
HSV
hsv(261, 27%, 81%)
CMYK
17%, 27%, 0%, 19%
XYZ
X: 38.78, Y: 35.35, Z: 48.18
Lab
L: 66.02, a: 15.52, b: -25.74
Name

Shades of Color #AB98CF

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

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

#AB98CFrgb(171, 152, 207)

About #AB98CF Color Code

In the HSL color space, this color has a hue angle of 261°, a saturation of 36%, and a lightness of 70%. The HSV representation shows a hue of 261°, a saturation of 27%, and a value of 81%.

  • HEX: #AB98CF
  • RGB: rgb(171, 152, 207)
  • HSL: hsl(261, 36%, 70%)
  • HSV: hsv(261, 27%, 81%)
  • CMYK: 17.00% cyan, 27.00% magenta, 0.00% yellow, 19.00% black
  • XYZ: 38.78, 35.35, 48.18
  • Yxy: 35.35, 0.3171, 0.2890
  • Hunter Lab: 66.02, 15.52, -25.74
  • CIE-Lab: 66.02, 15.52, -25.74

In the XYZ color space, this color is represented as X: 38.78, Y: 35.35, Z: 48.18. The Yxy representation further refines this as Y: 35.35, x: 0.3171, and y: 0.2890.

In the Hunter Lab color space, this color is represented as L: 66.02, a: 15.52, and b: -25.74. Similarly, in the CIE-Lab color space, it is represented as L: 66.02, a: 15.52, and b: -25.74.

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

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

Analogous Colors of #AB98CF

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

Split Complementary Colors of #AB98CF

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

Tetradic Colors of #AB98CF

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

Monochromatic Colors of #AB98CF

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

Complementary Color of #AB98CF

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

/* Using HEX */
body {
  background-color: #ab98cf;
}
/* Using RGB */
body {
  background-color: rgb(171, 152, 207);
}
/* Using RGB with opacity */
body {
  background-color: rgba(171, 152, 207, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(261, 36%, 70%);
}
/* Text color */
p {
  color: #ab98cf;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #ab98cf;
}
/* Border color */
.box {
  border: 4px solid #ab98cf;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #ab98cf;
}
Text Shadow Preview
/* Background with text */
div {
  background: #ab98cf;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AB98CF
On Black Background
#AB98CF
On White Background
#AB98CF

HTML Examples of #AB98CF

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

Related Colors of #AB98CF

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