#9B8CAA color

#9B8CAA rgb(155, 140, 170)
Shades of purple

The hex color #9B8CAA is a grayish violet.

In the RGB color model it is made of 60.8% red, 54.9% green and 66.7% blue (155, 140, 170).

Its hue angle is 270°, with 15% saturation and 61% lightness. For print, the CMYK equivalent is 9% cyan, 18% 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.73:1).

#9B8CAA color codes

HEX#9B8CAA
RGBrgb(155, 140, 170)
RGB percentrgb(60.8%, 54.9%, 66.7%)
HSLhsl(270, 15%, 61%)
HSV / HSBhsv(270, 18%, 67%)
CMYKcmyk(9%, 18%, 0%, 33%)
CIE LABlab(60.45, 11.47, -13.73)
CIE LCHlch(60.45, 17.89, 309.87)
CIE XYZxyz(30.15, 28.627, 41.96)
Decimal10194090
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9B8CAA, 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 #9B8CAARatioAAAAAAA large
Sample text6.73:1PassFailPass
Sample text3.12:1FailFailPass
#9B8CAA as text onRatioAAAAAAA large
Sample text3.12:1FailFailPass
Sample text6.73: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 #9B8CAA looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9b8caa; }
.text { color: #9b8caa; }
.border { border: 2px solid #9b8caa; }
.transparent { background-color: rgb(155 140 170 / 50%); }
.gradient { background: linear-gradient(to right, #9b8caa, #aa8caa); }
Background
Text color
Border

Similar colors

Questions

What color is #9B8CAA?
#9B8CAA 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 #9B8CAA?
The RGB value is 155, 140, 170: 155 red, 140 green and 170 blue on a 0 to 255 scale.
What is the complementary color of #9B8CAA?
The complementary color is #9BAA8C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9B8CAA?
Black text. Black text has a contrast ratio of 6.73:1 and white text 3.12:1. WCAG asks for at least 4.5:1 for normal text.