#786174 color
The hex color #786174 is a grayish magenta.
In the RGB color model it is made of 47.1% red, 38% green and 45.5% blue (120, 97, 116).
Its hue angle is 310°, with 11% saturation and 43% lightness. For print, the CMYK equivalent is 0% cyan, 19% magenta, 3% yellow and 53% black.
The closest named color is Opera (#816575), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.58:1).
#786174 color codes
| HEX | #786174 | |
|---|---|---|
| RGB | rgb(120, 97, 116) | |
| RGB percent | rgb(47.1%, 38%, 45.5%) | |
| HSL | hsl(310, 11%, 43%) | |
| HSV / HSB | hsv(310, 19%, 47%) | |
| CMYK | cmyk(0%, 19%, 3%, 53%) | |
| CIE LAB | lab(43.95, 12.83, -7.18) | |
| CIE LCH | lch(43.95, 14.7, 330.76) | |
| CIE XYZ | xyz(15.172, 13.804, 18.385) | |
| Decimal | 7889268 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786174, 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 #786174 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.76:1 | Fail | Fail | Pass |
| Sample text | 5.58:1 | Pass | Fail | Pass |
| #786174 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.58:1 | Pass | Fail | Pass |
| Sample text | 3.76:1 | Fail | Fail | Pass |
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 #786174 looks to people with the most common types of color vision deficiency.
#616675Protanopia
no red cones#666973Deuteranopia
no green cones#7a6267Tritanopia
no blue cones#686868Achromatopsia
no color vision
CSS examples
.background { background-color: #786174; }
.text { color: #786174; }
.border { border: 2px solid #786174; }
.transparent { background-color: rgb(120 97 116 / 50%); }
.gradient { background: linear-gradient(to right, #786174, #786169); }
Similar colors
#816575Opera#74626dChimaera#806b77Moonscape#7b6c7cSakura Night#716675Rum#7b5867Royal Fig#6f5166Hibernation#675a75Plummy
Closest common color name: Eggplant.
Questions
- What color is #786174?
- #786174 is a grayish magenta, closest to the named color Opera. It belongs to the purple family of colors.
- What is the RGB value of #786174?
- The RGB value is 120, 97, 116: 120 red, 97 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #786174?
- The complementary color is #617865, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786174?
- White text. Black text has a contrast ratio of 3.76:1 and white text 5.58:1. WCAG asks for at least 4.5:1 for normal text.