#A87FAB color

#A87FAB rgb(168, 127, 171)
Shades of purple

The hex color #A87FAB is a grayish magenta.

In the RGB color model it is made of 65.9% red, 49.8% green and 67.1% blue (168, 127, 171).

Its hue angle is 296°, with 21% saturation and 58% lightness. For print, the CMYK equivalent is 2% cyan, 26% magenta, 0% yellow and 33% black.

The closest named color is Heart Potion (#A97FB1), a difference of 1.6 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 6.29:1).

#A87FAB color codes

HEX#A87FAB
RGBrgb(168, 127, 171)
RGB percentrgb(65.9%, 49.8%, 67.1%)
HSLhsl(296, 21%, 58%)
HSV / HSBhsv(296, 26%, 67%)
CMYKcmyk(2%, 26%, 0%, 33%)
CIE LABlab(58.46, 23.56, -17.2)
CIE LCHlch(58.46, 29.17, 323.87)
CIE XYZxyz(31.088, 26.445, 41.987)
Decimal11042731
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #A87FAB, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #A87FABRatioAAAAAAA large
Sample text6.29:1PassFailPass
Sample text3.34:1FailFailPass
#A87FAB as text onRatioAAAAAAA large
Sample text3.34:1FailFailPass
Sample text6.29:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #A87FAB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #a87fab; }
.text { color: #a87fab; }
.border { border: 2px solid #a87fab; }
.transparent { background-color: rgb(168 127 171 / 50%); }
.gradient { background: linear-gradient(to right, #a87fab, #ab7f98); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #A87FAB?
#A87FAB is a grayish magenta, closest to the named color Heart Potion. It belongs to the purple family of colors.
What is the RGB value of #A87FAB?
The RGB value is 168, 127, 171: 168 red, 127 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #A87FAB?
The complementary color is #82AB7F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A87FAB?
Black text. Black text has a contrast ratio of 6.29:1 and white text 3.34:1. WCAG asks for at least 4.5:1 for normal text.