#9786AB color

#9786AB rgb(151, 134, 171)
Shades of purple

The hex color #9786AB is a grayish violet.

In the RGB color model it is made of 59.2% red, 52.5% green and 67.1% blue (151, 134, 171).

Its hue angle is 268°, with 18% saturation and 60% lightness. For print, the CMYK equivalent is 12% cyan, 22% magenta, 0% yellow and 33% black.

The closest named color is Wizard’s Brew (#A090B8), a difference of 3.5 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 6.31:1).

#9786AB color codes

HEX#9786AB
RGBrgb(151, 134, 171)
RGB percentrgb(59.2%, 52.5%, 67.1%)
HSLhsl(268, 18%, 60%)
HSV / HSBhsv(268, 22%, 67%)
CMYKcmyk(12%, 22%, 0%, 33%)
CIE LABlab(58.57, 13.76, -17.17)
CIE LCHlch(58.57, 22, 308.69)
CIE XYZxyz(28.637, 26.57, 42.14)
Decimal9930411
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9786AB, 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 #9786ABRatioAAAAAAA large
Sample text6.31:1PassFailPass
Sample text3.33:1FailFailPass
#9786AB as text onRatioAAAAAAA large
Sample text3.33:1FailFailPass
Sample text6.31:1PassFailPass

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 #9786AB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9786ab; }
.text { color: #9786ab; }
.border { border: 2px solid #9786ab; }
.transparent { background-color: rgb(151 134 171 / 50%); }
.gradient { background: linear-gradient(to right, #9786ab, #aa86ab); }
Background
Text color
Border

Similar colors

Questions

What color is #9786AB?
#9786AB 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 #9786AB?
The RGB value is 151, 134, 171: 151 red, 134 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #9786AB?
The complementary color is #9AAB86, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9786AB?
Black text. Black text has a contrast ratio of 6.31:1 and white text 3.33:1. WCAG asks for at least 4.5:1 for normal text.