What is hex #AA87CD color?

 
The hex code #AA87CD is closest to the named color African Violet (#B284BE).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 67% red, 53% green and 80% blue, resulting in rgb(170, 135, 205) and hsl(270, 41%, 67%).
For print media and manufacturing layout, the CMYK equivalent is (17%, 34%, 0%, 20%).
In the HSV/HSB scale, #AA87CD features a hue of 270°, 34% saturation, and 80% brightness.

Hex #AA87CD Color Codes & Conversions

Closest Named Color
African Violet (#B284BE)
Hex Code #AA87CD
Hex8 (RGBA Hex) #AA87CDFF
RGB (CSS) rgb(170, 135, 205)
RGBA (CSS) rgba(170, 135, 205, 1)
HSL (CSS) hsl(270, 41%, 67%)
HSLA (CSS) hsla(270, 41%, 67%, 1)
HSV / HSB (270°, 34%, 80%)
CMYK Values (17%, 34%, 0%, 20%)
OKLCH (Modern CSS) oklch(68.2% 0.107 306.7)
CIE-LAB (D65) 61.90, 26.87, -31.18
CIE XYZ 36.26, 30.28, 61.68
Decimal / Binary 11175885
10101010 10000111 11001101

Closest Standards & Equivalents

Closest Web Safe
#9999CC
Inverse Color
#557832
Complementary Color
#AACD87
Closest Pantone®
Pantone 2577 C
Closest RAL
RAL 4009 [Pastel violet]

#AA87CD Grayscale Equivalents

Average
#AAAAAA
Lightness (Desaturation)
#AAAAAA
Weighted (BT601)
#999999
Luma (BT709)
#939393

WCAG 2.1 Color Contrast & Accessibility

Check how #AA87CD complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #AA87CD

Sample preview of readable typography on top of #AA87CD.

Contrast Ratio: 2.98:1
AA Fail AAA Fail

Black Text on #AA87CD

Sample preview of readable typography on top of #AA87CD.

Contrast Ratio: 7.06:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #AA87CD

Preview #AA87CD in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #AA87CD;
Typography Color Preview
color: #AA87CD;
Border & Shadow Preview
border: 2px solid #AA87CD;
CSS Custom Properties & Gradient
:root {
  --color-primary: #AA87CD;
  --color-primary-rgb: 170, 135, 205;
  --color-complementary: #AACD87;
}
.btn-accent {
  background-color: #AA87CD;
  color: #000000;
}

Hex #AA87CD Color Palettes

Complementary Palette

The complementary color of #AA87CD is #AACD87. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #AA87CD pairs with #8787CD and #CD87CD, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #AA87CD pairs with #87CD87 and #CDCD87, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #AA87CD uses #87CDAA and #CDAA87, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #AA87CD combines #CDAA87, #AACD87 and #87AACD around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #AA87CD pairs with #CD8787, #AACD87 and #87CDCD spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #AA87CD

Tints

Tints are created by mixing #AA87CD with white, producing lighter variations.

Tones

Tones are created by mixing #AA87CD with gray, softening saturation.

Shades

Shades result from mixing #AA87CD with black, creating deeper variations.

Hex #AA87CD in Programming & CSS Frameworks

Copy the exact syntax for #AA87CD in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #AA87CD
Tailwind CSS bg-[#AA87CD] text-[#AA87CD]
Java (AWT) new Color(170,135,205);
Python Color("#AA87CD")
.NET (C#) Color.FromArgb(255, 170,135,205);
Swift / iOS UIColor(red: 0.67, green: 0.53, blue: 0.8, alpha: 1)
Kotlin / Android Color.rgb(170, 135, 205)