Color: #AF2ECC

#AF2ECC Color Information

#AF2ECC is a dark color. The closest websafe version is #AF2ECC. A complement of this color would be #4BCC2E, perceived brightness is 0.40, and the grayscale version is #7D7D7D.

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

In a RGB color space, #AF2ECC is composed of 69% red, 18% green and 80% blue. Whereas in a CMYK color space, it is composed of 14% cyan, 77% magenta, 0% yellow and 20% black.

In the Yxy color space, this color is represented as Y: 15.16, x: 0.3243, and y: 0.1732.

Color Code #AF2ECC

#AF2ECCrgb(175, 46, 204)
HEX
#AF2ECC
RGB
rgb(175, 46, 204)
HSL
hsl(289, 63%, 49%)
HSV
hsv(289, 77%, 80%)
CMYK
14%, 77%, 0%, 20%
XYZ
X: 28.39, Y: 15.16, Z: 43.99
Lab
L: 45.85, a: 66.03, b: -55.53
Name

Shades of Color #AF2ECC

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

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

#AF2ECCrgb(175, 46, 204)

About #AF2ECC Color Code

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

  • HEX: #AF2ECC
  • RGB: rgb(175, 46, 204)
  • HSL: hsl(289, 63%, 49%)
  • HSV: hsv(289, 77%, 80%)
  • CMYK: 14.00% cyan, 77.00% magenta, 0.00% yellow, 20.00% black
  • XYZ: 28.39, 15.16, 43.99
  • Yxy: 15.16, 0.3243, 0.1732
  • Hunter Lab: 45.85, 66.03, -55.53
  • CIE-Lab: 45.85, 66.03, -55.53

In the XYZ color space, this color is represented as X: 28.39, Y: 15.16, Z: 43.99. The Yxy representation further refines this as Y: 15.16, x: 0.3243, and y: 0.1732.

In the Hunter Lab color space, this color is represented as L: 45.85, a: 66.03, and b: -55.53. Similarly, in the CIE-Lab color space, it is represented as L: 45.85, a: 66.03, and b: -55.53.

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

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

Analogous Colors of #AF2ECC

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

Monochromatic Colors of #AF2ECC

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

Complementary Color of #AF2ECC

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

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

HTML Examples of #AF2ECC

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

Related Colors of #AF2ECC

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