#786A7E color

#786A7E rgb(120, 106, 126)
Shades of purple

The hex color #786A7E is a grayish magenta.

In the RGB color model it is made of 47.1% red, 41.6% green and 49.4% blue (120, 106, 126).

Its hue angle is 282°, with 9% saturation and 45% lightness. For print, the CMYK equivalent is 5% cyan, 16% magenta, 0% yellow and 51% black.

The closest named color is Sakura Night (#7B6C7C), a difference of 1.8 ΔE, which is barely visible.

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

#786A7E color codes

HEX#786A7E
RGBrgb(120, 106, 126)
RGB percentrgb(47.1%, 41.6%, 49.4%)
HSLhsl(282, 9%, 45%)
HSV / HSBhsv(282, 16%, 49%)
CMYKcmyk(5%, 16%, 0%, 51%)
CIE LABlab(46.72, 9.5, -9.06)
CIE LCHlch(46.72, 13.13, 316.38)
CIE XYZxyz(16.665, 15.808, 21.908)
Decimal7891582
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #786A7E, 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 #786A7ERatioAAAAAAA large
Sample text4.16:1FailFailPass
Sample text5.05:1PassFailPass
#786A7E as text onRatioAAAAAAA large
Sample text5.05:1PassFailPass
Sample text4.16: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 #786A7E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #786a7e; }
.text { color: #786a7e; }
.border { border: 2px solid #786a7e; }
.transparent { background-color: rgb(120 106 126 / 50%); }
.gradient { background: linear-gradient(to right, #786a7e, #7e6a7a); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

What color is #786A7E?
#786A7E is a grayish magenta, closest to the named color Sakura Night. It belongs to the purple family of colors.
What is the RGB value of #786A7E?
The RGB value is 120, 106, 126: 120 red, 106 green and 126 blue on a 0 to 255 scale.
What is the complementary color of #786A7E?
The complementary color is #707E6A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #786A7E?
White text. Black text has a contrast ratio of 4.16:1 and white text 5.05:1. WCAG asks for at least 4.5:1 for normal text.