#9D6793 color
The hex color #9D6793 is a grayish magenta.
In the RGB color model it is made of 61.6% red, 40.4% green and 57.6% blue (157, 103, 147).
Its hue angle is 311°, with 22% saturation and 51% lightness. For print, the CMYK equivalent is 0% cyan, 34% magenta, 6% yellow and 38% black.
The closest named color is Drama Queen (#A37298), a difference of 3.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.8:1).
#9D6793 color codes
| HEX | #9D6793 | |
|---|---|---|
| RGB | rgb(157, 103, 147) | |
| RGB percent | rgb(61.6%, 40.4%, 57.6%) | |
| HSL | hsl(311, 22%, 51%) | |
| HSV / HSB | hsv(311, 34%, 62%) | |
| CMYK | cmyk(0%, 34%, 6%, 38%) | |
| CIE LAB | lab(50.66, 28.8, -15.21) | |
| CIE LCH | lch(50.66, 32.56, 332.16) | |
| CIE XYZ | xyz(24.021, 18.976, 29.996) | |
| Decimal | 10315667 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D6793, 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 #9D6793 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.8:1 | Pass | Fail | Pass |
| Sample text | 4.38:1 | Fail | Fail | Pass |
| #9D6793 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.38: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 #9D6793 looks to people with the most common types of color vision deficiency.
#677495Protanopia
no red cones#747b91Deuteranopia
no green cones#a26a77Tritanopia
no blue cones#797979Achromatopsia
no color vision
CSS examples
.background { background-color: #9d6793; }
.text { color: #9d6793; }
.border { border: 2px solid #9d6793; }
.transparent { background-color: rgb(157 103 147 / 50%); }
.gradient { background: linear-gradient(to right, #9d6793, #9d6778); }
Similar colors
#a37298Drama Queen#9d5a8fBermuda Onion#946985Fruit of Passion#886688Sunshone Plum#9d5783Feminism#a15589Purple Zergling#b36b92Je t’aime#905284Grape Candy
Closest common color name: Mulberry.
Questions
- What color is #9D6793?
- #9D6793 is a grayish magenta, closest to the named color Drama Queen. It belongs to the purple family of colors.
- What is the RGB value of #9D6793?
- The RGB value is 157, 103, 147: 157 red, 103 green and 147 blue on a 0 to 255 scale.
- What is the complementary color of #9D6793?
- The complementary color is #679D71, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D6793?
- Black text. Black text has a contrast ratio of 4.8:1 and white text 4.38:1. WCAG asks for at least 4.5:1 for normal text.