#9F7CA2 color

#9F7CA2 rgb(159, 124, 162)
Shades of purple

The hex color #9F7CA2 is a grayish magenta.

In the RGB color model it is made of 62.4% red, 48.6% green and 63.5% blue (159, 124, 162).

Its hue angle is 295°, with 17% saturation and 56% lightness. For print, the CMYK equivalent is 2% cyan, 23% 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.88:1).

#9F7CA2 color codes

HEX#9F7CA2
RGBrgb(159, 124, 162)
RGB percentrgb(62.4%, 48.6%, 63.5%)
HSLhsl(295, 17%, 56%)
HSV / HSBhsv(295, 23%, 64%)
CMYKcmyk(2%, 23%, 0%, 36%)
CIE LABlab(56.48, 20.38, -15.11)
CIE LCHlch(56.48, 25.37, 323.45)
CIE XYZxyz(28.027, 24.396, 37.408)
Decimal10452130
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #9f7ca2; }
.text { color: #9f7ca2; }
.border { border: 2px solid #9f7ca2; }
.transparent { background-color: rgb(159 124 162 / 50%); }
.gradient { background: linear-gradient(to right, #9f7ca2, #a27c92); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

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