#9C6797 color

#9C6797 rgb(156, 103, 151)
Shades of purple

The hex color #9C6797 is a grayish magenta.

In the RGB color model it is made of 61.2% red, 40.4% green and 59.2% blue (156, 103, 151).

Its hue angle is 306°, with 21% saturation and 51% lightness. For print, the CMYK equivalent is 0% cyan, 34% magenta, 3% yellow and 39% black.

The closest named color is Bermuda Onion (#9D5A8F), a difference of 4.1 ΔE, a small difference.

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

#9C6797 color codes

HEX#9C6797
RGBrgb(156, 103, 151)
RGB percentrgb(61.2%, 40.4%, 59.2%)
HSLhsl(306, 21%, 51%)
HSV / HSBhsv(306, 34%, 61%)
CMYKcmyk(0%, 34%, 3%, 39%)
CIE LABlab(50.69, 29.21, -17.53)
CIE LCHlch(50.69, 34.06, 329.03)
CIE XYZxyz(24.146, 19.004, 31.668)
Decimal10250135
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9C6797, 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 #9C6797RatioAAAAAAA large
Sample text4.8:1PassFailPass
Sample text4.37:1FailFailPass
#9C6797 as text onRatioAAAAAAA large
Sample text4.37:1FailFailPass
Sample text4.8: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 #9C6797 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9c6797; }
.text { color: #9c6797; }
.border { border: 2px solid #9c6797; }
.transparent { background-color: rgb(156 103 151 / 50%); }
.gradient { background: linear-gradient(to right, #9c6797, #9c677c); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #9C6797?
#9C6797 is a grayish magenta, closest to the named color Bermuda Onion. It belongs to the purple family of colors.
What is the RGB value of #9C6797?
The RGB value is 156, 103, 151: 156 red, 103 green and 151 blue on a 0 to 255 scale.
What is the complementary color of #9C6797?
The complementary color is #679C6C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9C6797?
Black text. Black text has a contrast ratio of 4.8:1 and white text 4.37:1. WCAG asks for at least 4.5:1 for normal text.