#9787BC color

#9787BC rgb(151, 135, 188)
Shades of purple

The hex color #9787BC is a light, desaturated violet.

In the RGB color model it is made of 59.2% red, 52.9% green and 73.7% blue (151, 135, 188).

Its hue angle is 258°, with 28% saturation and 63% lightness. For print, the CMYK equivalent is 20% cyan, 28% magenta, 0% yellow and 26% black.

The closest named color is Magic Carpet (#9488BE), a difference of 1.2 ΔE, which is barely visible.

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

#9787BC color codes

HEX#9787BC
RGBrgb(151, 135, 188)
RGB percentrgb(59.2%, 52.9%, 73.7%)
HSLhsl(258, 28%, 63%)
HSV / HSBhsv(258, 28%, 74%)
CMYKcmyk(20%, 28%, 0%, 26%)
CIE LABlab(59.47, 17.02, -25.48)
CIE LCHlch(59.47, 30.64, 303.74)
CIE XYZxyz(30.502, 27.538, 51.276)
Decimal9930684
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9787BC, 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 #9787BCRatioAAAAAAA large
Sample text6.51:1PassFailPass
Sample text3.23:1FailFailPass
#9787BC as text onRatioAAAAAAA large
Sample text3.23:1FailFailPass
Sample text6.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 #9787BC looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9787bc; }
.text { color: #9787bc; }
.border { border: 2px solid #9787bc; }
.transparent { background-color: rgb(151 135 188 / 50%); }
.gradient { background: linear-gradient(to right, #9787bc, #b287bc); }
Background
Text color
Border

Similar colors

Questions

What color is #9787BC?
#9787BC is a light, desaturated violet, closest to the named color Magic Carpet. It belongs to the purple family of colors.
What is the RGB value of #9787BC?
The RGB value is 151, 135, 188: 151 red, 135 green and 188 blue on a 0 to 255 scale.
What is the complementary color of #9787BC?
The complementary color is #ACBC87, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9787BC?
Black text. Black text has a contrast ratio of 6.51:1 and white text 3.23:1. WCAG asks for at least 4.5:1 for normal text.