hexcolors

#A87DE8

Closest named color: mediumpurple

About this color

#A87DE8 is a light purple color. In RGB it is 168, 125, 232, and its closest named color is mediumpurple. Text in black is easiest to read on it, with a contrast ratio of 6.76: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 #A87DE8?

Contrast against white and black text.

Aa Sample
3.10:1 with white text
Passes AA for large text only
Aa Sample
6.76: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 #A87DE8

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
#A87DE8
Protanopia
#5D92EC
Deuteranopia
#6792E5
Tritanopia
#9C90A7

Test an image

Copy the code

CSS, Sass and Tailwind.

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

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #A87DE8?

#A87DE8 is rgb(168, 125, 232).

What is the closest named color to #A87DE8?

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

What color goes well with #A87DE8?

Its complementary color is #BDE87D. Analogous colors at #7D87E8 and #DE7DE8 also work well.

Should I use white or black text on #A87DE8?

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

Use this color anywhere

Data, embeds and tools.

Get #A87DE8 as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color