#8E24AA

#8E24AA — Color Codes & Palette

#8E24AA  ·  rgb(142, 36, 170)  ·  hsl(287, 65%, 40%)

Color Codes

Format Value
HEX #8E24AA
RGB rgb(142, 36, 170)
HSL hsl(287, 65%, 40%)

Shades of #8E24AA

#7E2097#701D87#621976#541565#461254#380E43#2A0B32#1C0722

Tints of #8E24AA

#A129C2#B235D4#BB4EDA#C568DF#CF81E4#D89AEA#E2B3EF#ECCDF4

Color Pairings & Harmony

Complementary
#40A824
Analogous +30°
#A82483
Analogous −30°
#4924A8
Triadic +120°
#A88C24
Triadic −120°
#24A88C

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
7.04:1 — AAA pass for normal text
vs. Black (#000000)
2.98:1 — Fail

CSS Snippet

.element {
  color: #8E24AA;
}

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

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

About #8E24AA

#8E24AA is a medium color with high saturation, defined by the hex code #8E24AA. Its exact color model values are rgb(142, 36, 170) in RGB and hsl(287, 65%, 40%) in HSL (hue 287°, saturation 65%, lightness 40%). On a white background the contrast ratio is 7.04:1 — AAA pass for normal text, and on black it is 2.98:1 — Fail. Use #8E24AA 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 #8E24AA?
The RGB value of #8E24AA (#8E24AA) is rgb(142, 36, 170). Red = rgb(142, 36, 170), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #8E24AA accessible on a white background?
The contrast ratio of #8E24AA on white (#FFFFFF) is 7.04:1 — AAA pass for normal text. On black (#000000) the contrast ratio is 2.98:1 — Fail. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with #8E24AA?
Based on color theory, #8E24AA (hsl(287, 65%, 40%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.