#9D79A2 color

#9D79A2 rgb(157, 121, 162)
Shades of purple

The hex color #9D79A2 is a grayish magenta.

In the RGB color model it is made of 61.6% red, 47.5% green and 63.5% blue (157, 121, 162).

Its hue angle is 293°, with 18% saturation and 55% lightness. For print, the CMYK equivalent is 3% cyan, 25% magenta, 0% yellow and 36% black.

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

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

#9D79A2 color codes

HEX#9D79A2
RGBrgb(157, 121, 162)
RGB percentrgb(61.6%, 47.5%, 63.5%)
HSLhsl(293, 18%, 55%)
HSV / HSBhsv(293, 25%, 64%)
CMYKcmyk(3%, 25%, 0%, 36%)
CIE LABlab(55.54, 21.41, -16.56)
CIE LCHlch(55.54, 27.07, 322.27)
CIE XYZxyz(27.263, 23.452, 37.266)
Decimal10320290
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9D79A2, 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 #9D79A2RatioAAAAAAA large
Sample text5.69:1PassFailPass
Sample text3.69:1FailFailPass
#9D79A2 as text onRatioAAAAAAA large
Sample text3.69:1FailFailPass
Sample text5.69: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 #9D79A2 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9d79a2; }
.text { color: #9d79a2; }
.border { border: 2px solid #9d79a2; }
.transparent { background-color: rgb(157 121 162 / 50%); }
.gradient { background: linear-gradient(to right, #9d79a2, #a27992); }
Background
Text color
Border

Similar colors

Questions

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