#796D8B color
The hex color #796D8B is a grayish violet.
In the RGB color model it is made of 47.5% red, 42.7% green and 54.5% blue (121, 109, 139).
Its hue angle is 264°, with 12% saturation and 49% lightness. For print, the CMYK equivalent is 13% cyan, 22% magenta, 0% yellow and 45% black.
The closest named color is Nymph’s Delight (#7B6C8E), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.8:1).
#796D8B color codes
| HEX | #796D8B | |
|---|---|---|
| RGB | rgb(121, 109, 139) | |
| RGB percent | rgb(47.5%, 42.7%, 54.5%) | |
| HSL | hsl(264, 12%, 49%) | |
| HSV / HSB | hsv(264, 22%, 55%) | |
| CMYK | cmyk(13%, 22%, 0%, 45%) | |
| CIE LAB | lab(48.09, 10.95, -14.72) | |
| CIE LCH | lch(48.09, 18.35, 306.63) | |
| CIE XYZ | xyz(18.013, 16.866, 26.728) | |
| Decimal | 7957899 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796D8B, 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 #796D8B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.37:1 | Fail | Fail | Pass |
| Sample text | 4.8:1 | Pass | Fail | Pass |
| #796D8B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.8:1 | Pass | Fail | Pass |
| Sample text | 4.37: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 #796D8B looks to people with the most common types of color vision deficiency.
#68728cProtanopia
no red cones#6a728aDeuteranopia
no green cones#767177Tritanopia
no blue cones#727272Achromatopsia
no color vision
CSS examples
.background { background-color: #796d8b; }
.text { color: #796d8b; }
.border { border: 2px solid #796d8b; }
.transparent { background-color: rgb(121 109 139 / 50%); }
.gradient { background: linear-gradient(to right, #796d8b, #886d8b); }
Similar colors
#7b6c8eNymph’s Delight#746c8fBureaucracy#807396Purple Haze#847592Vintage#6a6887Heron#787489Flying Carpet#6b6c89Dark Prince#7b6c7cSakura Night
Closest common color name: Lavender Purple.
Questions
- What color is #796D8B?
- #796D8B 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 #796D8B?
- The RGB value is 121, 109, 139: 121 red, 109 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #796D8B?
- The complementary color is #7F8B6D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796D8B?
- White text. Black text has a contrast ratio of 4.37:1 and white text 4.8:1. WCAG asks for at least 4.5:1 for normal text.