#9D7FB2 color
The hex color #9D7FB2 is a grayish violet.
In the RGB color model it is made of 61.6% red, 49.8% green and 69.8% blue (157, 127, 178).
Its hue angle is 275°, with 25% saturation and 60% lightness. For print, the CMYK equivalent is 12% cyan, 29% magenta, 0% yellow and 30% black.
The closest named color is Lavender Purple (#967BB6), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.11:1).
#9D7FB2 color codes
| HEX | #9D7FB2 | |
|---|---|---|
| RGB | rgb(157, 127, 178) | |
| RGB percent | rgb(61.6%, 49.8%, 69.8%) | |
| HSL | hsl(275, 25%, 60%) | |
| HSV / HSB | hsv(275, 29%, 70%) | |
| CMYK | cmyk(12%, 29%, 0%, 30%) | |
| CIE LAB | lab(57.62, 21.32, -22.58) | |
| CIE LCH | lch(57.62, 31.06, 313.35) | |
| CIE XYZ | xyz(29.528, 25.562, 45.489) | |
| Decimal | 10321842 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D7FB2, 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 #9D7FB2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.11:1 | Pass | Fail | Pass |
| Sample text | 3.44:1 | Fail | Fail | Pass |
| #9D7FB2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.44:1 | Fail | Fail | Pass |
| Sample text | 6.11: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 #9D7FB2 looks to people with the most common types of color vision deficiency.
#7789b4Protanopia
no red cones#7d8bb0Deuteranopia
no green cones#9b8691Tritanopia
no blue cones#8a8a8aAchromatopsia
no color vision
CSS examples
.background { background-color: #9d7fb2; }
.text { color: #9d7fb2; }
.border { border: 2px solid #9d7fb2; }
.transparent { background-color: rgb(157 127 178 / 50%); }
.gradient { background: linear-gradient(to right, #9d7fb2, #b27fae); }
Similar colors
#967bb6Lavender Purple#a97fb1Heart Potion#ab7cb4Berries Galore#9c87c1Petrified Purple#9488beMagic Carpet#867ba9Aster#b090c7Fleur-De-Lis#a090b8Wizard’s Brew
Questions
- What color is #9D7FB2?
- #9D7FB2 is a grayish violet, closest to the named color Lavender Purple. It belongs to the purple family of colors.
- What is the RGB value of #9D7FB2?
- The RGB value is 157, 127, 178: 157 red, 127 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #9D7FB2?
- The complementary color is #94B27F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D7FB2?
- Black text. Black text has a contrast ratio of 6.11:1 and white text 3.44:1. WCAG asks for at least 4.5:1 for normal text.