#A6799F color

#A6799F rgb(166, 121, 159)
Shades of purple

The hex color #A6799F is a grayish magenta.

In the RGB color model it is made of 65.1% red, 47.5% green and 62.4% blue (166, 121, 159).

Its hue angle is 309°, with 20% saturation and 56% lightness. For print, the CMYK equivalent is 0% cyan, 27% magenta, 4% yellow and 35% black.

The closest named color is Drama Queen (#A37298), a difference of 2.3 ΔE, a small difference.

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

#A6799F color codes

HEX#A6799F
RGBrgb(166, 121, 159)
RGB percentrgb(65.1%, 47.5%, 62.4%)
HSLhsl(309, 20%, 56%)
HSV / HSBhsv(309, 27%, 65%)
CMYKcmyk(0%, 27%, 4%, 35%)
CIE LABlab(56.37, 23.96, -13.47)
CIE LCHlch(56.37, 27.49, 330.66)
CIE XYZxyz(28.821, 24.286, 35.964)
Decimal10910111
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #A6799F, 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 #A6799FRatioAAAAAAA large
Sample text5.86:1PassFailPass
Sample text3.59:1FailFailPass
#A6799F as text onRatioAAAAAAA large
Sample text3.59:1FailFailPass
Sample text5.86: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 #A6799F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #a6799f; }
.text { color: #a6799f; }
.border { border: 2px solid #a6799f; }
.transparent { background-color: rgb(166 121 159 / 50%); }
.gradient { background: linear-gradient(to right, #a6799f, #a67989); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #A6799F?
#A6799F is a grayish magenta, closest to the named color Drama Queen. It belongs to the purple family of colors.
What is the RGB value of #A6799F?
The RGB value is 166, 121, 159: 166 red, 121 green and 159 blue on a 0 to 255 scale.
What is the complementary color of #A6799F?
The complementary color is #79A680, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A6799F?
Black text. Black text has a contrast ratio of 5.86:1 and white text 3.59:1. WCAG asks for at least 4.5:1 for normal text.