#A798B1 color

#A798B1 rgb(167, 152, 177)
Shades of purple

The hex color #A798B1 is a light, grayish violet.

In the RGB color model it is made of 65.5% red, 59.6% green and 69.4% blue (167, 152, 177).

Its hue angle is 276°, with 14% saturation and 65% lightness. For print, the CMYK equivalent is 6% cyan, 14% magenta, 0% yellow and 31% black.

The closest named color is Pastel Purple (#B39EB5), a difference of 3.1 ΔE, a small difference.

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

#A798B1 color codes

HEX#A798B1
RGBrgb(167, 152, 177)
RGB percentrgb(65.5%, 59.6%, 69.4%)
HSLhsl(276, 14%, 65%)
HSV / HSBhsv(276, 14%, 69%)
CMYKcmyk(6%, 14%, 0%, 31%)
CIE LABlab(64.84, 10.27, -10.98)
CIE LCHlch(64.84, 15.04, 313.07)
CIE XYZxyz(35.099, 33.847, 46.27)
Decimal10983601
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #A798B1, 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 #A798B1RatioAAAAAAA large
Sample text7.77:1PassPassPass
Sample text2.7:1FailFailFail
#A798B1 as text onRatioAAAAAAA large
Sample text2.7:1FailFailFail
Sample text7.77:1PassPassPass

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

CSS examples

.background { background-color: #a798b1; }
.text { color: #a798b1; }
.border { border: 2px solid #a798b1; }
.transparent { background-color: rgb(167 152 177 / 50%); }
.gradient { background: linear-gradient(to right, #a798b1, #b198ae); }
Background
Text color
Border

Similar colors

Questions

What color is #A798B1?
#A798B1 is a light, grayish violet, closest to the named color Pastel Purple. It belongs to the purple family of colors.
What is the RGB value of #A798B1?
The RGB value is 167, 152, 177: 167 red, 152 green and 177 blue on a 0 to 255 scale.
What is the complementary color of #A798B1?
The complementary color is #A2B198, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A798B1?
Black text. Black text has a contrast ratio of 7.77:1 and white text 2.7:1. WCAG asks for at least 4.5:1 for normal text.