#9D8FAC color

#9D8FAC rgb(157, 143, 172)
Shades of purple

The hex color #9D8FAC is a grayish violet.

In the RGB color model it is made of 61.6% red, 56.1% green and 67.5% blue (157, 143, 172).

Its hue angle is 269°, with 15% saturation and 62% lightness. For print, the CMYK equivalent is 9% cyan, 17% 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.96:1).

#9D8FAC color codes

HEX#9D8FAC
RGBrgb(157, 143, 172)
RGB percentrgb(61.6%, 56.1%, 67.5%)
HSLhsl(269, 15%, 62%)
HSV / HSBhsv(269, 17%, 67%)
CMYKcmyk(9%, 17%, 0%, 33%)
CIE LABlab(61.47, 10.87, -13.31)
CIE LCHlch(61.47, 17.18, 309.24)
CIE XYZxyz(31.172, 29.792, 43.13)
Decimal10325932
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #9d8fac; }
.text { color: #9d8fac; }
.border { border: 2px solid #9d8fac; }
.transparent { background-color: rgb(157 143 172 / 50%); }
.gradient { background: linear-gradient(to right, #9d8fac, #ac8fac); }
Background
Text color
Border

Similar colors

Questions

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