#9C6797 color
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 | |
|---|---|---|
| RGB | rgb(156, 103, 151) | |
| RGB percent | rgb(61.2%, 40.4%, 59.2%) | |
| HSL | hsl(306, 21%, 51%) | |
| HSV / HSB | hsv(306, 34%, 61%) | |
| CMYK | cmyk(0%, 34%, 3%, 39%) | |
| CIE LAB | lab(50.69, 29.21, -17.53) | |
| CIE LCH | lch(50.69, 34.06, 329.03) | |
| CIE XYZ | xyz(24.146, 19.004, 31.668) | |
| Decimal | 10250135 | |
| Short hex | None (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 #9C6797 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.8:1 | Pass | Fail | Pass |
| Sample text | 4.37:1 | Fail | Fail | Pass |
| #9C6797 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.37:1 | Fail | Fail | Pass |
| Sample text | 4.8:1 | Pass | Fail | Pass |
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.
#657499Protanopia
no red cones#727b95Deuteranopia
no green cones#a06b78Tritanopia
no blue cones#797979Achromatopsia
no color vision
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); }
Similar colors
#9d5a8fBermuda Onion#a37298Drama Queen#886688Sunshone Plum#946985Fruit of Passion#a15589Purple Zergling#9d5783Feminism#946dadCrown Jewels#b36b92Je t’aime
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.