#9789AF color
The hex color #9789AF is a grayish violet.
In the RGB color model it is made of 59.2% red, 53.7% green and 68.6% blue (151, 137, 175).
Its hue angle is 262°, with 19% saturation and 61% lightness. For print, the CMYK equivalent is 14% cyan, 22% magenta, 0% yellow and 31% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.51:1).
#9789AF color codes
| HEX | #9789AF | |
|---|---|---|
| RGB | rgb(151, 137, 175) | |
| RGB percent | rgb(59.2%, 53.7%, 68.6%) | |
| HSL | hsl(262, 19%, 61%) | |
| HSV / HSB | hsv(262, 22%, 69%) | |
| CMYK | cmyk(14%, 22%, 0%, 31%) | |
| CIE LAB | lab(59.49, 12.91, -18.06) | |
| CIE LCH | lch(59.49, 22.2, 305.57) | |
| CIE XYZ | xyz(29.444, 27.566, 44.319) | |
| Decimal | 9931183 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9789AF, 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 #9789AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.51:1 | Pass | Fail | Pass |
| Sample text | 3.22:1 | Fail | Fail | Pass |
| #9789AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.22:1 | Fail | Fail | Pass |
| Sample text | 6.51: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 #9789AF looks to people with the most common types of color vision deficiency.
#828fb1Protanopia
no red cones#848faeDeuteranopia
no green cones#938e96Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #9789af; }
.text { color: #9789af; }
.border { border: 2px solid #9789af; }
.transparent { background-color: rgb(151 137 175 / 50%); }
.gradient { background: linear-gradient(to right, #9789af, #aa89af); }
Similar colors
#a090b8Wizard’s Brew#9488beMagic Carpet#a893c1Enchanted Lilac#9c87c1Petrified Purple#95859cHatoba Pigeon#867ba9Aster#967bb6Lavender Purple#b090b2Metal Petal
Questions
- What color is #9789AF?
- #9789AF is a grayish violet, closest to the named color Wizard’s Brew. It belongs to the purple family of colors.
- What is the RGB value of #9789AF?
- The RGB value is 151, 137, 175: 151 red, 137 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #9789AF?
- The complementary color is #A1AF89, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9789AF?
- Black text. Black text has a contrast ratio of 6.51:1 and white text 3.22:1. WCAG asks for at least 4.5:1 for normal text.