#786BA2 color

#786BA2 rgb(120, 107, 162)
Shades of blue

The hex color #786BA2 is a grayish violet.

In the RGB color model it is made of 47.1% red, 42% green and 63.5% blue (120, 107, 162).

Its hue angle is 254°, with 23% saturation and 53% lightness. For print, the CMYK equivalent is 26% cyan, 34% magenta, 0% yellow and 36% black.

The closest named color is Scampi (#6F63A0), a difference of 3.4 ΔE, a small difference.

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

#786BA2 color codes

HEX#786BA2
RGBrgb(120, 107, 162)
RGB percentrgb(47.1%, 42%, 63.5%)
HSLhsl(254, 23%, 53%)
HSV / HSBhsv(254, 34%, 64%)
CMYKcmyk(26%, 34%, 0%, 36%)
CIE LABlab(48.41, 17.4, -27.82)
CIE LCHlch(48.41, 32.82, 302.02)
CIE XYZxyz(19.523, 17.117, 36.451)
Decimal7891874
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #786ba2; }
.text { color: #786ba2; }
.border { border: 2px solid #786ba2; }
.transparent { background-color: rgb(120 107 162 / 50%); }
.gradient { background: linear-gradient(to right, #786ba2, #946ba2); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #786BA2?
#786BA2 is a grayish violet, closest to the named color Scampi. It belongs to the blue family of colors.
What is the RGB value of #786BA2?
The RGB value is 120, 107, 162: 120 red, 107 green and 162 blue on a 0 to 255 scale.
What is the complementary color of #786BA2?
The complementary color is #95A26B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #786BA2?
White text. Black text has a contrast ratio of 4.42:1 and white text 4.75:1. WCAG asks for at least 4.5:1 for normal text.