#796DA6 color
The hex color #796DA6 is a grayish violet.
In the RGB color model it is made of 47.5% red, 42.7% green and 65.1% blue (121, 109, 166).
Its hue angle is 253°, with 24% saturation and 54% lightness. For print, the CMYK equivalent is 27% cyan, 34% magenta, 0% yellow and 35% black.
The closest named color is Scampi (#6F63A0), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.61:1).
#796DA6 color codes
| HEX | #796DA6 | |
|---|---|---|
| RGB | rgb(121, 109, 166) | |
| RGB percent | rgb(47.5%, 42.7%, 65.1%) | |
| HSL | hsl(253, 24%, 54%) | |
| HSV / HSB | hsv(253, 34%, 65%) | |
| CMYK | cmyk(27%, 34%, 0%, 35%) | |
| CIE LAB | lab(49.2, 17.53, -28.93) | |
| CIE LCH | lch(49.2, 33.83, 301.21) | |
| CIE XYZ | xyz(20.235, 17.755, 38.43) | |
| Decimal | 7957926 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796DA6, 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 #796DA6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.55:1 | Pass | Fail | Pass |
| Sample text | 4.61:1 | Pass | Fail | Pass |
| #796DA6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.61:1 | Pass | Fail | Pass |
| Sample text | 4.55:1 | Pass | 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 #796DA6 looks to people with the most common types of color vision deficiency.
#5e76a8Protanopia
no red cones#5f74a5Deuteranopia
no green cones#6f7782Tritanopia
no blue cones#757575Achromatopsia
no color vision
CSS examples
.background { background-color: #796da6; }
.text { color: #796da6; }
.border { border: 2px solid #796da6; }
.transparent { background-color: rgb(121 109 166 / 50%); }
.gradient { background: linear-gradient(to right, #796da6, #966da6); }
Similar colors
#6f63a0Scampi#8469bcLavish Spending#7a6dc0Venus Violet#867ba9Aster#746c8fBureaucracy#636ca8Twinkle Night#807396Purple Haze#777799Stormy Horizon
Closest common color name: Lavender Purple.
Questions
- What color is #796DA6?
- #796DA6 is a grayish violet, closest to the named color Scampi. It belongs to the blue family of colors.
- What is the RGB value of #796DA6?
- The RGB value is 121, 109, 166: 121 red, 109 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #796DA6?
- The complementary color is #9AA66D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796DA6?
- White text. Black text has a contrast ratio of 4.55:1 and white text 4.61:1. WCAG asks for at least 4.5:1 for normal text.