#9790B7 color
The hex color #9790B7 is a light, grayish violet.
In the RGB color model it is made of 59.2% red, 56.5% green and 71.8% blue (151, 144, 183).
Its hue angle is 251°, with 21% saturation and 64% lightness. For print, the CMYK equivalent is 17% cyan, 21% magenta, 0% yellow and 28% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.99:1).
#9790B7 color codes
| HEX | #9790B7 | |
|---|---|---|
| RGB | rgb(151, 144, 183) | |
| RGB percent | rgb(59.2%, 56.5%, 71.8%) | |
| HSL | hsl(251, 21%, 64%) | |
| HSV / HSB | hsv(251, 21%, 72%) | |
| CMYK | cmyk(17%, 21%, 0%, 28%) | |
| CIE LAB | lab(61.61, 10.7, -19.38) | |
| CIE LCH | lch(61.61, 22.14, 298.91) | |
| CIE XYZ | xyz(31.281, 29.944, 48.922) | |
| Decimal | 9932983 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9790B7, 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 #9790B7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.99:1 | Pass | Fail | Pass |
| Sample text | 3:1 | Fail | Fail | Pass |
| #9790B7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3:1 | Fail | Fail | Pass |
| Sample text | 6.99: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 #9790B7 looks to people with the most common types of color vision deficiency.
#8795b9Protanopia
no red cones#8894b6Deuteranopia
no green cones#91969dTritanopia
no blue cones#959595Achromatopsia
no color vision
CSS examples
.background { background-color: #9790b7; }
.text { color: #9790b7; }
.border { border: 2px solid #9790b7; }
.transparent { background-color: rgb(151 144 183 / 50%); }
.gradient { background: linear-gradient(to right, #9790b7, #aa90b7); }
Similar colors
#a090b8Wizard’s Brew#9488beMagic Carpet#a893c1Enchanted Lilac#9c87c1Petrified Purple#a99fcfImperial Lilac#8e97c7Easter Egg#8c92acCool Gray#95859cHatoba Pigeon
Questions
- What color is #9790B7?
- #9790B7 is a light, grayish violet, closest to the named color Wizard’s Brew. It belongs to the blue family of colors.
- What is the RGB value of #9790B7?
- The RGB value is 151, 144, 183: 151 red, 144 green and 183 blue on a 0 to 255 scale.
- What is the complementary color of #9790B7?
- The complementary color is #B0B790, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9790B7?
- Black text. Black text has a contrast ratio of 6.99:1 and white text 3:1. WCAG asks for at least 4.5:1 for normal text.