#796B8C color
The hex color #796B8C is a grayish violet.
In the RGB color model it is made of 47.5% red, 42% green and 54.9% blue (121, 107, 140).
Its hue angle is 265°, with 13% saturation and 48% lightness. For print, the CMYK equivalent is 14% cyan, 24% magenta, 0% yellow and 45% black.
The closest named color is Nymph’s Delight (#7B6C8E), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.89:1).
#796B8C color codes
| HEX | #796B8C | |
|---|---|---|
| RGB | rgb(121, 107, 140) | |
| RGB percent | rgb(47.5%, 42%, 54.9%) | |
| HSL | hsl(265, 13%, 48%) | |
| HSV / HSB | hsv(265, 24%, 55%) | |
| CMYK | cmyk(14%, 24%, 0%, 45%) | |
| CIE LAB | lab(47.59, 12.37, -16.08) | |
| CIE LCH | lch(47.59, 20.29, 307.58) | |
| CIE XYZ | xyz(17.876, 16.474, 27.044) | |
| Decimal | 7957388 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796B8C, 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 #796B8C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.29:1 | Fail | Fail | Pass |
| Sample text | 4.89:1 | Pass | Fail | Pass |
| #796B8C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.89:1 | Pass | Fail | Pass |
| Sample text | 4.29: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 #796B8C looks to people with the most common types of color vision deficiency.
#65708dProtanopia
no red cones#67718bDeuteranopia
no green cones#767076Tritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #796b8c; }
.text { color: #796b8c; }
.border { border: 2px solid #796b8c; }
.transparent { background-color: rgb(121 107 140 / 50%); }
.gradient { background: linear-gradient(to right, #796b8c, #8a6b8c); }
Similar colors
#7b6c8eNymph’s Delight#746c8fBureaucracy#807396Purple Haze#847592Vintage#6a6887Heron#6b6c89Dark Prince#886688Sunshone Plum#7b6c7cSakura Night
Closest common color name: Lavender Purple.
Questions
- What color is #796B8C?
- #796B8C 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 #796B8C?
- The RGB value is 121, 107, 140: 121 red, 107 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #796B8C?
- The complementary color is #7E8C6B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796B8C?
- White text. Black text has a contrast ratio of 4.29:1 and white text 4.89:1. WCAG asks for at least 4.5:1 for normal text.