#AFA7BE color

#AFA7BE rgb(175, 167, 190)
Shades of gray

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

In the RGB color model it is made of 68.6% red, 65.5% green and 74.5% blue (175, 167, 190).

Its hue angle is 261°, with 15% saturation and 70% lightness. For print, the CMYK equivalent is 8% cyan, 12% magenta, 0% yellow and 25% black.

The closest named color is Pastel Lilac (#BDB0D0), a difference of 4.6 ΔE, a small difference.

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

#AFA7BE color codes

HEX#AFA7BE
RGBrgb(175, 167, 190)
RGB percentrgb(68.6%, 65.5%, 74.5%)
HSLhsl(261, 15%, 70%)
HSV / HSBhsv(261, 12%, 75%)
CMYKcmyk(8%, 12%, 0%, 25%)
CIE LABlab(69.8, 7.31, -10.73)
CIE LCHlch(69.8, 12.99, 304.25)
CIE XYZxyz(40.79, 40.469, 54.368)
Decimal11511742
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #afa7be; }
.text { color: #afa7be; }
.border { border: 2px solid #afa7be; }
.transparent { background-color: rgb(175 167 190 / 50%); }
.gradient { background: linear-gradient(to right, #afa7be, #baa7be); }
Background
Text color
Border

Similar colors

Questions

What color is #AFA7BE?
#AFA7BE is a light, grayish violet, closest to the named color Pastel Lilac. It belongs to the gray family of colors.
What is the RGB value of #AFA7BE?
The RGB value is 175, 167, 190: 175 red, 167 green and 190 blue on a 0 to 255 scale.
What is the complementary color of #AFA7BE?
The complementary color is #B6BEA7, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFA7BE?
Black text. Black text has a contrast ratio of 9.09:1 and white text 2.31:1. WCAG asks for at least 4.5:1 for normal text.