#9F7FB1 color
The hex color #9F7FB1 is a grayish violet.
In the RGB color model it is made of 62.4% red, 49.8% green and 69.4% blue (159, 127, 177).
Its hue angle is 278°, with 24% saturation and 60% lightness. For print, the CMYK equivalent is 10% cyan, 28% magenta, 0% yellow and 31% black.
The closest named color is Heart Potion (#A97FB1), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.14:1).
#9F7FB1 color codes
| HEX | #9F7FB1 | |
|---|---|---|
| RGB | rgb(159, 127, 177) | |
| RGB percent | rgb(62.4%, 49.8%, 69.4%) | |
| HSL | hsl(278, 24%, 60%) | |
| HSV / HSB | hsv(278, 28%, 69%) | |
| CMYK | cmyk(10%, 28%, 0%, 31%) | |
| CIE LAB | lab(57.77, 21.76, -21.76) | |
| CIE LCH | lch(57.77, 30.77, 315.01) | |
| CIE XYZ | xyz(29.822, 25.724, 44.981) | |
| Decimal | 10452913 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9F7FB1, 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 #9F7FB1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.14:1 | Pass | Fail | Pass |
| Sample text | 3.42:1 | Fail | Fail | Pass |
| #9F7FB1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.42:1 | Fail | Fail | Pass |
| Sample text | 6.14: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 #9F7FB1 looks to people with the most common types of color vision deficiency.
#7789b3Protanopia
no red cones#7e8cafDeuteranopia
no green cones#9e8591Tritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #9f7fb1; }
.text { color: #9f7fb1; }
.border { border: 2px solid #9f7fb1; }
.transparent { background-color: rgb(159 127 177 / 50%); }
.gradient { background: linear-gradient(to right, #9f7fb1, #b17faa); }
Similar colors
#a97fb1Heart Potion#ab7cb4Berries Galore#967bb6Lavender Purple#9c87c1Petrified Purple#b090c7Fleur-De-Lis#9488beMagic Carpet#a090b8Wizard’s Brew#a893c1Enchanted Lilac
Questions
- What color is #9F7FB1?
- #9F7FB1 is a grayish violet, closest to the named color Heart Potion. It belongs to the purple family of colors.
- What is the RGB value of #9F7FB1?
- The RGB value is 159, 127, 177: 159 red, 127 green and 177 blue on a 0 to 255 scale.
- What is the complementary color of #9F7FB1?
- The complementary color is #91B17F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9F7FB1?
- Black text. Black text has a contrast ratio of 6.14:1 and white text 3.42:1. WCAG asks for at least 4.5:1 for normal text.