Skip to content
Color Codes

Traditional Chinese color

Purple Color Code

Purple is a medium, moderately saturated purple with the hex code #8D4BBB. In RGB it is rgb(141, 75, 187), in HSL hsl(275, 45%, 51%) and in CMYK cmyk(25%, 60%, 0%, 27%).

Purple
紫色
#8D4BBB

Color values

White text on Purple has a contrast ratio of 5.45:1 and black text 3.86:1, so white text is the more readable choice.

The closest Tailwind CSS color is Fuchsia 700 (#A21CAF).

Meaning

Royal and auspicious color

Use Purple in CSS

.element {
  color: #8d4bbb;
  background-color: #8d4bbb;
  border-color: rgb(141, 75, 187);
}

Tints and shades of Purple

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with Purple

Color-wheel harmonies built from #8D4BBB. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on Purple

Aa
White text
5.45:1
AA
Aa
Black text
3.86:1
AA · Large text
Check in the contrast checker

Colors similar to Purple

Palettes with similar colors

Questions about Purple

What is the hex code for Purple?

The hex code for Purple is #8D4BBB. Its RGB value is rgb(141, 75, 187) and its HSL value is hsl(275, 45%, 51%).

What colors go with Purple?

The complementary color of Purple is #79BA4A. For a softer scheme try the analogous colors #534ABA and #BA4AB1; for a balanced three-color scheme use the triadic colors #BA8B4A and #4ABA8B.

Is Purple readable as a text color?

On a white background Purple has a contrast ratio of 5.45:1, which passes WCAG AA for normal text (4.5:1). On black it reaches 3.86:1.

More purple colors