What is hex #AE87CB color?

 
The hex code #AE87CB 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 68% red, 53% green and 80% blue, resulting in rgb(174, 135, 203) and hsl(274, 40%, 66%).
For print media and manufacturing layout, the CMYK equivalent is (14%, 33%, 0%, 20%).
In the HSV/HSB scale, #AE87CB features a hue of 274°, 33% saturation, and 80% brightness.

Hex #AE87CB Color Codes & Conversions

Closest Named Color
African Violet (#B284BE)
Hex Code #AE87CB
Hex8 (RGBA Hex) #AE87CBFF
RGB (CSS) rgb(174, 135, 203)
RGBA (CSS) rgba(174, 135, 203, 1)
HSL (CSS) hsl(274, 40%, 66%)
HSLA (CSS) hsla(274, 40%, 66%, 1)
HSV / HSB (274°, 33%, 80%)
CMYK Values (14%, 33%, 0%, 20%)
OKLCH (Modern CSS) oklch(68.5% 0.106 310.0)
CIE-LAB (D65) 62.20, 27.67, -29.55
CIE XYZ 36.90, 30.64, 60.46
Decimal / Binary 11438027
10101110 10000111 11001011

Closest Standards & Equivalents

Closest Web Safe
#9999CC
Inverse Color
#517834
Complementary Color
#A4CB87
Closest Pantone®
Pantone 2573 C
Closest RAL
RAL 4009 [Pastel violet]

#AE87CB Grayscale Equivalents

Average
#ABABAB
Lightness (Desaturation)
#A9A9A9 [Dark Medium Gray]
Weighted (BT601)
#9A9A9A
Luma (BT709)
#949494

WCAG 2.1 Color Contrast & Accessibility

Check how #AE87CB 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 #AE87CB

Sample preview of readable typography on top of #AE87CB.

Contrast Ratio: 2.95:1
AA Fail AAA Fail

Black Text on #AE87CB

Sample preview of readable typography on top of #AE87CB.

Contrast Ratio: 7.13:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #AE87CB

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

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

Hex #AE87CB Color Palettes

Complementary Palette

The complementary color of #AE87CB is #A4CB87. 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 #AE87CB pairs with #8C87CB and #CB87C6, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #AE87CB uses #87CBAE and #CBAE87, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #AE87CB combines #CBAE87, #A4CB87 and #87A4CB around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #AE87CB pairs with #CB8C87, #A4CB87 and #87C6CB spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #AE87CB

Tints

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

Tones

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

Shades

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

Hex #AE87CB in Programming & CSS Frameworks

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

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