#987AAB color

#987AAB rgb(152, 122, 171)
Shades of purple

The hex color #987AAB is a grayish violet.

In the RGB color model it is made of 59.6% red, 47.8% green and 67.1% blue (152, 122, 171).

Its hue angle is 277°, with 23% saturation and 57% lightness. For print, the CMYK equivalent is 11% cyan, 29% magenta, 0% yellow and 33% black.

The closest named color is Lavender Purple (#967BB6), a difference of 3 ΔE, a small difference.

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

#987AAB color codes

HEX#987AAB
RGBrgb(152, 122, 171)
RGB percentrgb(59.6%, 47.8%, 67.1%)
HSLhsl(277, 23%, 57%)
HSV / HSBhsv(277, 29%, 67%)
CMYKcmyk(11%, 29%, 0%, 33%)
CIE LABlab(55.62, 21.02, -21.67)
CIE LCHlch(55.62, 30.2, 314.13)
CIE XYZxyz(27.258, 23.535, 41.627)
Decimal9992875
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #987AAB, 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 #987AABRatioAAAAAAA large
Sample text5.71:1PassFailPass
Sample text3.68:1FailFailPass
#987AAB as text onRatioAAAAAAA large
Sample text3.68:1FailFailPass
Sample text5.71: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 #987AAB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #987aab; }
.text { color: #987aab; }
.border { border: 2px solid #987aab; }
.transparent { background-color: rgb(152 122 171 / 50%); }
.gradient { background: linear-gradient(to right, #987aab, #ab7aa5); }
Background
Text color
Border

Similar colors

Questions

What color is #987AAB?
#987AAB is a grayish violet, closest to the named color Lavender Purple. It belongs to the purple family of colors.
What is the RGB value of #987AAB?
The RGB value is 152, 122, 171: 152 red, 122 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #987AAB?
The complementary color is #8DAB7A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #987AAB?
Black text. Black text has a contrast ratio of 5.71:1 and white text 3.68:1. WCAG asks for at least 4.5:1 for normal text.