Color: #AB12CC

#AB12CC Color Information

#AB12CC is a dark color. The closest websafe version is #AB12CC. A complement of this color would be #35CE12, perceived brightness is 0.33, and the grayscale version is #6F6F6F.

In the HSL color space, this color has a hue angle of 289°,a saturation of 84%, and a lightness of 44%.The HSV representation shows a hue of 289°, a saturation of 91%, and a value of 80%.

In a RGB color space, #AB12CC is composed of 67% red, 7% green and 80% blue. Whereas in a CMYK color space, it is composed of 16% cyan, 91% magenta, 0% yellow and 20% black.

In the Yxy color space, this color is represented as Y: 13.16, x: 0.3188, and y: 0.1575.

Color Code #AB12CC

#AB12CCrgb(171, 18, 204)
HEX
#AB12CC
RGB
rgb(171, 18, 204)
HSL
hsl(289, 84%, 44%)
HSV
hsv(289, 91%, 80%)
CMYK
16%, 91%, 0%, 20%
XYZ
X: 26.63, Y: 13.16, Z: 43.75
Lab
L: 43.00, a: 71.32, b: -60.15
Name

Shades of Color #AB12CC

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

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

#AB12CCrgb(171, 18, 204)

About #AB12CC Color Code

In the HSL color space, this color has a hue angle of 289°, a saturation of 84%, and a lightness of 44%. The HSV representation shows a hue of 289°, a saturation of 91%, and a value of 80%.

  • HEX: #AB12CC
  • RGB: rgb(171, 18, 204)
  • HSL: hsl(289, 84%, 44%)
  • HSV: hsv(289, 91%, 80%)
  • CMYK: 16.00% cyan, 91.00% magenta, 0.00% yellow, 20.00% black
  • XYZ: 26.63, 13.16, 43.75
  • Yxy: 13.16, 0.3188, 0.1575
  • Hunter Lab: 43.00, 71.32, -60.15
  • CIE-Lab: 43.00, 71.32, -60.15

In the XYZ color space, this color is represented as X: 26.63, Y: 13.16, Z: 43.75. The Yxy representation further refines this as Y: 13.16, x: 0.3188, and y: 0.1575.

In the Hunter Lab color space, this color is represented as L: 43.00, a: 71.32, and b: -60.15. Similarly, in the CIE-Lab color space, it is represented as L: 43.00, a: 71.32, and b: -60.15.

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

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

Analogous Colors of #AB12CC

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

Monochromatic Colors of #AB12CC

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

Complementary Color of #AB12CC

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

/* Using HEX */
body {
  background-color: #ab12cc;
}
/* Using RGB */
body {
  background-color: rgb(171, 18, 204);
}
/* Using RGB with opacity */
body {
  background-color: rgba(171, 18, 204, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(289, 84%, 44%);
}
/* Text color */
p {
  color: #ab12cc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #ab12cc;
}
/* Border color */
.box {
  border: 4px solid #ab12cc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #ab12cc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #ab12cc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AB12CC
On Black Background
#AB12CC
On White Background
#AB12CC

HTML Examples of #AB12CC

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

Related Colors of #AB12CC

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