#796C87 color
The hex color #796C87 is a grayish violet.
In the RGB color model it is made of 47.5% red, 42.4% green and 52.9% blue (121, 108, 135).
Its hue angle is 269°, with 11% saturation and 48% lightness. For print, the CMYK equivalent is 10% cyan, 20% magenta, 0% yellow and 47% black.
The closest named color is Nymph’s Delight (#7B6C8E), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.87:1).
#796C87 color codes
| HEX | #796C87 | |
|---|---|---|
| RGB | rgb(121, 108, 135) | |
| RGB percent | rgb(47.5%, 42.4%, 52.9%) | |
| HSL | hsl(269, 11%, 48%) | |
| HSV / HSB | hsv(269, 20%, 53%) | |
| CMYK | cmyk(10%, 20%, 0%, 47%) | |
| CIE LAB | lab(47.67, 10.64, -12.98) | |
| CIE LCH | lch(47.67, 16.78, 309.34) | |
| CIE XYZ | xyz(17.62, 16.539, 25.181) | |
| Decimal | 7957639 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796C87, 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 #796C87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.31:1 | Fail | Fail | Pass |
| Sample text | 4.87:1 | Pass | Fail | Pass |
| #796C87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.87:1 | Pass | Fail | Pass |
| Sample text | 4.31: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 #796C87 looks to people with the most common types of color vision deficiency.
#687188Protanopia
no red cones#6a7186Deuteranopia
no green cones#776f75Tritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #796c87; }
.text { color: #796c87; }
.border { border: 2px solid #796c87; }
.transparent { background-color: rgb(121 108 135 / 50%); }
.gradient { background: linear-gradient(to right, #796c87, #866c87); }
Similar colors
#7b6c8eNymph’s Delight#746c8fBureaucracy#847592Vintage#807396Purple Haze#7b6c7cSakura Night#787489Flying Carpet#766d7cMamba#6a6887Heron
Closest common color name: Lavender Purple.
Questions
- What color is #796C87?
- #796C87 is a grayish violet, closest to the named color Nymph’s Delight. It belongs to the purple family of colors.
- What is the RGB value of #796C87?
- The RGB value is 121, 108, 135: 121 red, 108 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #796C87?
- The complementary color is #7A876C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796C87?
- White text. Black text has a contrast ratio of 4.31:1 and white text 4.87:1. WCAG asks for at least 4.5:1 for normal text.