#797297 color

#797297 rgb(121, 114, 151)
Shades of blue

The hex color #797297 is a grayish violet.

In the RGB color model it is made of 47.5% red, 44.7% green and 59.2% blue (121, 114, 151).

Its hue angle is 251°, with 15% saturation and 52% lightness. For print, the CMYK equivalent is 20% cyan, 25% magenta, 0% yellow and 41% black.

The closest named color is Purple Haze (#807396), a difference of 2.4 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 4.67:1).

#797297 color codes

HEX#797297
RGBrgb(121, 114, 151)
RGB percentrgb(47.5%, 44.7%, 59.2%)
HSLhsl(251, 15%, 52%)
HSV / HSBhsv(251, 25%, 59%)
CMYKcmyk(20%, 25%, 0%, 41%)
CIE LABlab(49.9, 10.79, -19.05)
CIE LCHlch(49.9, 21.9, 299.51)
CIE XYZxyz(19.487, 18.334, 31.784)
Decimal7959191
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #797297, 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 #797297RatioAAAAAAA large
Sample text4.67:1PassFailPass
Sample text4.5:1FailFailPass
#797297 as text onRatioAAAAAAA large
Sample text4.5:1FailFailPass
Sample text4.67:1PassFailPass

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 #797297 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #797297; }
.text { color: #797297; }
.border { border: 2px solid #797297; }
.transparent { background-color: rgb(121 114 151 / 50%); }
.gradient { background: linear-gradient(to right, #797297, #8c7297); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #797297?
#797297 is a grayish violet, closest to the named color Purple Haze. It belongs to the blue family of colors.
What is the RGB value of #797297?
The RGB value is 121, 114, 151: 121 red, 114 green and 151 blue on a 0 to 255 scale.
What is the complementary color of #797297?
The complementary color is #909772, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797297?
Black text. Black text has a contrast ratio of 4.67:1 and white text 4.5:1. WCAG asks for at least 4.5:1 for normal text.