#AF87B8 color

#AF87B8 rgb(175, 135, 184)
Shades of purple

The hex color #AF87B8 is a light, desaturated magenta.

In the RGB color model it is made of 68.6% red, 52.9% green and 72.2% blue (175, 135, 184).

Its hue angle is 289°, with 26% saturation and 63% lightness. For print, the CMYK equivalent is 5% cyan, 27% magenta, 0% yellow and 28% black.

The closest named color is Heart Potion (#A97FB1), a difference of 2.5 ΔE, a small difference.

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

#AF87B8 color codes

HEX#AF87B8
RGBrgb(175, 135, 184)
RGB percentrgb(68.6%, 52.9%, 72.2%)
HSLhsl(289, 26%, 63%)
HSV / HSBhsv(289, 27%, 72%)
CMYKcmyk(5%, 27%, 0%, 28%)
CIE LABlab(61.57, 24, -19.8)
CIE LCHlch(61.57, 31.12, 320.48)
CIE XYZxyz(34.994, 29.903, 49.267)
Decimal11503544
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AF87B8, 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 #AF87B8RatioAAAAAAA large
Sample text6.98:1PassFailPass
Sample text3.01:1FailFailPass
#AF87B8 as text onRatioAAAAAAA large
Sample text3.01:1FailFailPass
Sample text6.98: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 #AF87B8 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #af87b8; }
.text { color: #af87b8; }
.border { border: 2px solid #af87b8; }
.transparent { background-color: rgb(175 135 184 / 50%); }
.gradient { background: linear-gradient(to right, #af87b8, #b887a9); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #AF87B8?
#AF87B8 is a light, desaturated magenta, closest to the named color Heart Potion. It belongs to the purple family of colors.
What is the RGB value of #AF87B8?
The RGB value is 175, 135, 184: 175 red, 135 green and 184 blue on a 0 to 255 scale.
What is the complementary color of #AF87B8?
The complementary color is #90B887, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AF87B8?
Black text. Black text has a contrast ratio of 6.98:1 and white text 3.01:1. WCAG asks for at least 4.5:1 for normal text.