#8A7EAA color

#8A7EAA rgb(138, 126, 170)
Shades of purple

The hex color #8A7EAA is a grayish violet.

In the RGB color model it is made of 54.1% red, 49.4% green and 66.7% blue (138, 126, 170).

Its hue angle is 256°, with 21% saturation and 58% lightness. For print, the CMYK equivalent is 19% cyan, 26% magenta, 0% yellow and 33% black.

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

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

#8A7EAA color codes

HEX#8A7EAA
RGBrgb(138, 126, 170)
RGB percentrgb(54.1%, 49.4%, 66.7%)
HSLhsl(256, 21%, 58%)
HSV / HSBhsv(256, 26%, 67%)
CMYKcmyk(19%, 26%, 0%, 33%)
CIE LABlab(55.31, 13.84, -21.69)
CIE LCHlch(55.31, 25.73, 302.55)
CIE XYZxyz(25.196, 23.227, 41.178)
Decimal9076394
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #8a7eaa; }
.text { color: #8a7eaa; }
.border { border: 2px solid #8a7eaa; }
.transparent { background-color: rgb(138 126 170 / 50%); }
.gradient { background: linear-gradient(to right, #8a7eaa, #a07eaa); }
Background
Text color
Border

Similar colors

Questions

What color is #8A7EAA?
#8A7EAA is a grayish violet, closest to the named color Aster. It belongs to the purple family of colors.
What is the RGB value of #8A7EAA?
The RGB value is 138, 126, 170: 138 red, 126 green and 170 blue on a 0 to 255 scale.
What is the complementary color of #8A7EAA?
The complementary color is #9EAA7E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A7EAA?
Black text. Black text has a contrast ratio of 5.65:1 and white text 3.72:1. WCAG asks for at least 4.5:1 for normal text.