hexcolors

#AB7AB8

Closest named color: mediumpurple

About this color

#AB7AB8 is a light purple color. In RGB it is 171, 122, 184, and its closest named color is mediumpurple. Text in black is easiest to read on it, with a contrast ratio of 6.21:1.

What does purple mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #AB7AB8?

Contrast against white and black text.

Aa Sample
3.38:1 with white text
Passes AA for large text only
Aa Sample
6.21:1 with black text
Passes AA for body text

Test your own pair

Make it lighter or darker

Shades keep the same hue. Click one to open the closest color page.

Build a full 50 to 950 scale

Softer versions (tints)

Mixed with white.

Muted versions (tones)

Mixed with gray.

Colors that go with #AB7AB8

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with mediumpurple

How it looks with color blindness

Simulated for common types.

Normal
#AB7AB8
Protanopia
#7288BA
Deuteranopia
#7E8DB6
Tritanopia
#AC8191

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #ab7ab8;
background-color: #ab7ab8;
--brand: #ab7ab8;
$brand: #ab7ab8;
bg-[#ab7ab8] text-[#ab7ab8] border-[#ab7ab8]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #AB7AB8?

#AB7AB8 is rgb(171, 122, 184).

What is the closest named color to #AB7AB8?

The closest CSS named color is mediumpurple (#9370DB).

What color goes well with #AB7AB8?

Its complementary color is #87B87A. Analogous colors at #8C7AB8 and #B87AA6 also work well.

Should I use white or black text on #AB7AB8?

Black text is easier to read, with a contrast ratio of 6.21:1.

Use this color anywhere

Data, embeds and tools.

Get #AB7AB8 as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color