#8C7BA8 color

#8C7BA8 rgb(140, 123, 168)
Shades of purple

The hex color #8C7BA8 is a grayish violet.

In the RGB color model it is made of 54.9% red, 48.2% green and 65.9% blue (140, 123, 168).

Its hue angle is 263°, with 21% saturation and 57% lightness. For print, the CMYK equivalent is 17% cyan, 27% magenta, 0% yellow and 34% black.

The closest named color is Aster (#867BA9), a difference of 1.9 ΔE, which is barely visible.

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

#8C7BA8 color codes

HEX#8C7BA8
RGBrgb(140, 123, 168)
RGB percentrgb(54.9%, 48.2%, 65.9%)
HSLhsl(263, 21%, 57%)
HSV / HSBhsv(263, 27%, 66%)
CMYKcmyk(17%, 27%, 0%, 34%)
CIE LABlab(54.63, 15.79, -21.57)
CIE LCHlch(54.63, 26.73, 306.21)
CIE XYZxyz(24.965, 22.569, 40.079)
Decimal9206696
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8C7BA8, 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 #8C7BA8RatioAAAAAAA large
Sample text5.51:1PassFailPass
Sample text3.81:1FailFailPass
#8C7BA8 as text onRatioAAAAAAA large
Sample text3.81:1FailFailPass
Sample text5.51: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 #8C7BA8 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8c7ba8; }
.text { color: #8c7ba8; }
.border { border: 2px solid #8c7ba8; }
.transparent { background-color: rgb(140 123 168 / 50%); }
.gradient { background: linear-gradient(to right, #8c7ba8, #a37ba8); }
Background
Text color
Border

Similar colors

Questions

What color is #8C7BA8?
#8C7BA8 is a grayish violet, closest to the named color Aster. It belongs to the purple family of colors.
What is the RGB value of #8C7BA8?
The RGB value is 140, 123, 168: 140 red, 123 green and 168 blue on a 0 to 255 scale.
What is the complementary color of #8C7BA8?
The complementary color is #97A87B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8C7BA8?
Black text. Black text has a contrast ratio of 5.51:1 and white text 3.81:1. WCAG asks for at least 4.5:1 for normal text.