#8A4F87 color

#8A4F87 rgb(138, 79, 135)
Shades of purple

The hex color #8A4F87 is a desaturated magenta.

In the RGB color model it is made of 54.1% red, 31% green and 52.9% blue (138, 79, 135).

Its hue angle is 303°, with 27% saturation and 43% lightness. For print, the CMYK equivalent is 0% cyan, 43% magenta, 2% yellow and 46% black.

The closest named color is Grape Candy (#905284), a difference of 2.4 ΔE, a small difference.

White text is the more readable choice on this background (contrast 5.92:1).

#8A4F87 color codes

HEX#8A4F87
RGBrgb(138, 79, 135)
RGB percentrgb(54.1%, 31%, 52.9%)
HSLhsl(303, 27%, 43%)
HSV / HSBhsv(303, 43%, 54%)
CMYKcmyk(0%, 43%, 2%, 46%)
CIE LABlab(42.38, 33.63, -20.91)
CIE LCHlch(42.38, 39.6, 328.13)
CIE XYZxyz(17.65, 12.745, 24.447)
Decimal9064327
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8A4F87, 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 #8A4F87RatioAAAAAAA large
Sample text3.55:1FailFailPass
Sample text5.92:1PassFailPass
#8A4F87 as text onRatioAAAAAAA large
Sample text5.92:1PassFailPass
Sample text3.55:1FailFailPass

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 #8A4F87 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8a4f87; }
.text { color: #8a4f87; }
.border { border: 2px solid #8a4f87; }
.transparent { background-color: rgb(138 79 135 / 50%); }
.gradient { background: linear-gradient(to right, #8a4f87, #8a4f6a); }
Background
Text color
Border

Similar colors

Questions

What color is #8A4F87?
#8A4F87 is a desaturated magenta, closest to the named color Grape Candy. It belongs to the purple family of colors.
What is the RGB value of #8A4F87?
The RGB value is 138, 79, 135: 138 red, 79 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #8A4F87?
The complementary color is #4F8A52, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A4F87?
White text. Black text has a contrast ratio of 3.55:1 and white text 5.92:1. WCAG asks for at least 4.5:1 for normal text.