#796880 color
The hex color #796880 is a grayish magenta.
In the RGB color model it is made of 47.5% red, 40.8% green and 50.2% blue (121, 104, 128).
Its hue angle is 283°, with 10% saturation and 45% lightness. For print, the CMYK equivalent is 5% cyan, 19% magenta, 0% yellow and 50% black.
The closest named color is Sakura Night (#7B6C7C), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.12:1).
#796880 color codes
| HEX | #796880 | |
|---|---|---|
| RGB | rgb(121, 104, 128) | |
| RGB percent | rgb(47.5%, 40.8%, 50.2%) | |
| HSL | hsl(283, 10%, 45%) | |
| HSV / HSB | hsv(283, 19%, 50%) | |
| CMYK | cmyk(5%, 19%, 0%, 50%) | |
| CIE LAB | lab(46.34, 11.5, -10.81) | |
| CIE LCH | lch(46.34, 15.78, 316.76) | |
| CIE XYZ | xyz(16.731, 15.524, 22.533) | |
| Decimal | 7956608 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796880, 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 #796880 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.1:1 | Fail | Fail | Pass |
| Sample text | 5.12:1 | Pass | Fail | Pass |
| #796880 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.12:1 | Pass | Fail | Pass |
| Sample text | 4.1: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 #796880 looks to people with the most common types of color vision deficiency.
#656d81Protanopia
no red cones#696e7fDeuteranopia
no green cones#796b70Tritanopia
no blue cones#6e6e6eAchromatopsia
no color vision
CSS examples
.background { background-color: #796880; }
.text { color: #796880; }
.border { border: 2px solid #796880; }
.transparent { background-color: rgb(121 104 128 / 50%); }
.gradient { background: linear-gradient(to right, #796880, #80687b); }
Similar colors
#7b6c7cSakura Night#7b6c8eNymph’s Delight#716675Rum#766d7cMamba#816575Opera#806b77Moonscape#746c8fBureaucracy#847592Vintage
Closest common color name: Space Gray.
Questions
- What color is #796880?
- #796880 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 #796880?
- The RGB value is 121, 104, 128: 121 red, 104 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #796880?
- The complementary color is #6F8068, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796880?
- White text. Black text has a contrast ratio of 4.1:1 and white text 5.12:1. WCAG asks for at least 4.5:1 for normal text.