#AF7DAF color

#AF7DAF rgb(175, 125, 175)
Shades of purple

The hex color #AF7DAF is a grayish magenta.

In the RGB color model it is made of 68.6% red, 49% green and 68.6% blue (175, 125, 175).

Its hue angle is 300°, with 24% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 29% magenta, 0% yellow and 31% black.

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

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

#AF7DAF color codes

HEX#AF7DAF
RGBrgb(175, 125, 175)
RGB percentrgb(68.6%, 49%, 68.6%)
HSLhsl(300, 24%, 59%)
HSV / HSBhsv(300, 29%, 69%)
CMYKcmyk(0%, 29%, 0%, 31%)
CIE LABlab(58.86, 27.86, -18.81)
CIE LCHlch(58.86, 33.61, 325.98)
CIE XYZxyz(32.75, 26.877, 44.012)
Decimal11500975
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #AF7DAF?
#AF7DAF 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 #AF7DAF?
The RGB value is 175, 125, 175: 175 red, 125 green and 175 blue on a 0 to 255 scale.
What is the complementary color of #AF7DAF?
The complementary color is #7DAF7D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AF7DAF?
Black text. Black text has a contrast ratio of 6.38:1 and white text 3.29:1. WCAG asks for at least 4.5:1 for normal text.