#A798B2 color

#A798B2 rgb(167, 152, 178)
Shades of purple

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

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

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

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

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

#A798B2 color codes

HEX#A798B2
RGBrgb(167, 152, 178)
RGB percentrgb(65.5%, 59.6%, 69.8%)
HSLhsl(275, 14%, 65%)
HSV / HSBhsv(275, 15%, 70%)
CMYKcmyk(6%, 15%, 0%, 30%)
CIE LABlab(64.87, 10.47, -11.5)
CIE LCHlch(64.87, 15.55, 312.33)
CIE XYZxyz(35.199, 33.887, 46.797)
Decimal10983602
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #A798B2, 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 #A798B2RatioAAAAAAA large
Sample text7.78:1PassPassPass
Sample text2.7:1FailFailFail
#A798B2 as text onRatioAAAAAAA large
Sample text2.7:1FailFailFail
Sample text7.78: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 #A798B2 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

What color is #A798B2?
#A798B2 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 #A798B2?
The RGB value is 167, 152, 178: 167 red, 152 green and 178 blue on a 0 to 255 scale.
What is the complementary color of #A798B2?
The complementary color is #A3B298, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A798B2?
Black text. Black text has a contrast ratio of 7.78:1 and white text 2.7:1. WCAG asks for at least 4.5:1 for normal text.