#796C8A color
The hex color #796C8A is a grayish violet.
In the RGB color model it is made of 47.5% red, 42.4% green and 54.1% blue (121, 108, 138).
Its hue angle is 266°, with 12% saturation and 48% lightness. For print, the CMYK equivalent is 12% cyan, 22% magenta, 0% yellow and 46% black.
The closest named color is Nymph’s Delight (#7B6C8E), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.86:1).
#796C8A color codes
| HEX | #796C8A | |
|---|---|---|
| RGB | rgb(121, 108, 138) | |
| RGB percent | rgb(47.5%, 42.4%, 54.1%) | |
| HSL | hsl(266, 12%, 48%) | |
| HSV / HSB | hsv(266, 22%, 54%) | |
| CMYK | cmyk(12%, 22%, 0%, 46%) | |
| CIE LAB | lab(47.78, 11.32, -14.6) | |
| CIE LCH | lch(47.78, 18.47, 307.78) | |
| CIE XYZ | xyz(17.834, 16.625, 26.309) | |
| Decimal | 7957642 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796C8A, 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 #796C8A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.33:1 | Fail | Fail | Pass |
| Sample text | 4.86:1 | Pass | Fail | Pass |
| #796C8A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.86:1 | Pass | Fail | Pass |
| Sample text | 4.33: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 #796C8A looks to people with the most common types of color vision deficiency.
#67718bProtanopia
no red cones#697189Deuteranopia
no green cones#777076Tritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #796c8a; }
.text { color: #796c8a; }
.border { border: 2px solid #796c8a; }
.transparent { background-color: rgb(121 108 138 / 50%); }
.gradient { background: linear-gradient(to right, #796c8a, #886c8a); }
Similar colors
#7b6c8eNymph’s Delight#746c8fBureaucracy#807396Purple Haze#847592Vintage#6a6887Heron#7b6c7cSakura Night#787489Flying Carpet#6b6c89Dark Prince
Closest common color name: Lavender Purple.
Questions
- What color is #796C8A?
- #796C8A 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 #796C8A?
- The RGB value is 121, 108, 138: 121 red, 108 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #796C8A?
- The complementary color is #7D8A6C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796C8A?
- White text. Black text has a contrast ratio of 4.33:1 and white text 4.86:1. WCAG asks for at least 4.5:1 for normal text.