#AB47BC

#AB47BC — Color Codes & Palette

#AB47BC  ·  rgb(171, 71, 188)  ·  hsl(291, 47%, 51%)

Color Codes

Format Value
HEX #AB47BC
RGB rgb(171, 71, 188)
HSL hsl(291, 47%, 51%)

Shades of #AB47BC

#9C3EAC#8B379A#7A3187#692A74#582361#471C4F#36163C#250F29

Tints of #AB47BC

#B45AC4#BC6DCA#C580D1#CD92D8#D6A5DF#DEB8E5#E7CBEC#F0DDF3

Color Pairings & Harmony

Complementary
#59BD47
Analogous +30°
#BD4794
Analogous −30°
#7047BD
Triadic +120°
#BDAB47
Triadic −120°
#47BDAB

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
4.82:1 — AA pass for normal text
vs. Black (#000000)
4.36:1 — AA pass for large text only

CSS Snippet

.element {
  color: #AB47BC;
}

.element-bg {
  background-color: #AB47BC;
  color: #ffffff;
}

.element-border {
  border: 2px solid #AB47BC;
}

About #AB47BC

#AB47BC is a medium color with moderate saturation, defined by the hex code #AB47BC. Its exact color model values are rgb(171, 71, 188) in RGB and hsl(291, 47%, 51%) in HSL (hue 291°, saturation 47%, lightness 51%). On a white background the contrast ratio is 4.82:1 — AA pass for normal text, and on black it is 4.36:1 — AA pass for large text only. Use #AB47BC for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of #AB47BC?
The RGB value of #AB47BC (#AB47BC) is rgb(171, 71, 188). Red = rgb(171, 71, 188), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #AB47BC accessible on a white background?
The contrast ratio of #AB47BC on white (#FFFFFF) is 4.82:1 — AA pass for normal text. On black (#000000) the contrast ratio is 4.36:1 — AA pass for large text only. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with #AB47BC?
Based on color theory, #AB47BC (hsl(291, 47%, 51%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.