#796BAB color
The hex color #796BAB is a desaturated violet.
In the RGB color model it is made of 47.5% red, 42% green and 67.1% blue (121, 107, 171).
Its hue angle is 253°, with 28% saturation and 55% lightness. For print, the CMYK equivalent is 29% cyan, 37% magenta, 0% yellow and 33% black.
The closest named color is Scampi (#6F63A0), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.66:1).
#796BAB color codes
| HEX | #796BAB | |
|---|---|---|
| RGB | rgb(121, 107, 171) | |
| RGB percent | rgb(47.5%, 42%, 67.1%) | |
| HSL | hsl(253, 28%, 55%) | |
| HSV / HSB | hsv(253, 37%, 67%) | |
| CMYK | cmyk(29%, 37%, 0%, 33%) | |
| CIE LAB | lab(48.91, 20.03, -32.3) | |
| CIE LCH | lch(48.91, 38.01, 301.81) | |
| CIE XYZ | xyz(20.492, 17.52, 40.822) | |
| Decimal | 7957419 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #796BAB, 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 #796BAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.5:1 | Pass | Fail | Pass |
| Sample text | 4.66:1 | Pass | Fail | Pass |
| #796BAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.66:1 | Pass | Fail | Pass |
| Sample text | 4.5: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 #796BAB looks to people with the most common types of color vision deficiency.
#5975aeProtanopia
no red cones#5b73a9Deuteranopia
no green cones#6e7683Tritanopia
no blue cones#747474Achromatopsia
no color vision
CSS examples
.background { background-color: #796bab; }
.text { color: #796bab; }
.border { border: 2px solid #796bab; }
.transparent { background-color: rgb(121 107 171 / 50%); }
.gradient { background: linear-gradient(to right, #796bab, #996bab); }
Similar colors
#6f63a0Scampi#8469bcLavish Spending#7a6dc0Venus Violet#636ca8Twinkle Night#715bb1Simply Purple#6f58a6Prophet Violet#867ba9Aster#946dadCrown Jewels
Closest common color name: Lavender Purple.
Questions
- What color is #796BAB?
- #796BAB is a desaturated violet, closest to the named color Scampi. It belongs to the blue family of colors.
- What is the RGB value of #796BAB?
- The RGB value is 121, 107, 171: 121 red, 107 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #796BAB?
- The complementary color is #9DAB6B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #796BAB?
- White text. Black text has a contrast ratio of 4.5:1 and white text 4.66:1. WCAG asks for at least 4.5:1 for normal text.