Heart Potion color: hex code #A97FB1

#A97FB1 rgb(169, 127, 177)
Shades of purple

Heart Potion has the hex code #A97FB1. It is a grayish magenta.

In the RGB color model it is made of 66.3% red, 49.8% green and 69.4% blue (169, 127, 177).

Its hue angle is 290°, with 24% saturation and 60% lightness. For print, the CMYK equivalent is 5% cyan, 28% magenta, 0% yellow and 31% black.

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

Heart Potion (#A97FB1) color codes

HEX#A97FB1
RGBrgb(169, 127, 177)
RGB percentrgb(66.3%, 49.8%, 69.4%)
HSLhsl(290, 24%, 60%)
HSV / HSBhsv(290, 28%, 69%)
CMYKcmyk(5%, 28%, 0%, 31%)
CIE LABlab(58.78, 25.1, -20.13)
CIE LCHlch(58.78, 32.18, 321.27)
CIE XYZxyz(31.886, 26.789, 45.078)
Decimal11108273
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Heart Potion, 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 #A97FB1RatioAAAAAAA large
Sample text6.36:1PassFailPass
Sample text3.3:1FailFailPass
#A97FB1 as text onRatioAAAAAAA large
Sample text3.3:1FailFailPass
Sample text6.36: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 #A97FB1 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #a97fb1; }
.text { color: #a97fb1; }
.border { border: 2px solid #a97fb1; }
.transparent { background-color: rgb(169 127 177 / 50%); }
.gradient { background: linear-gradient(to right, #a97fb1, #b17fa0); }
Background
Text color
Border

Similar colors

See #A97FB1 on its hex code page

Questions

What color is #A97FB1?
#A97FB1 is a grayish magenta known as Heart Potion. It belongs to the purple family of colors.
What is the RGB value of Heart Potion?
The RGB value is 169, 127, 177: 169 red, 127 green and 177 blue on a 0 to 255 scale.
What is the complementary color of Heart Potion?
The complementary color is #87B17F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A97FB1?
Black text. Black text has a contrast ratio of 6.36:1 and white text 3.3:1. WCAG asks for at least 4.5:1 for normal text.