#AFA7BD

Closest named color: Dark Gray (#A9A9A9). oklch(74.2% 0.032 302.1), rgb(175, 167, 189).

Aa

Black text reads best on this color (9.08:1).

About this color

#AFA7BD is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.032 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.033 away. Black text reads best on it, at 9.08:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.032)
Temperaturein between
Nearest nameDark Gray (#A9A9A9)
Black text9.08:1
White text2.31:1

Values

HEX#AFA7BD
RGBrgb(175, 167, 189)
HSLhsl(262, 14%, 70%)
OKLCHoklch(74.2% 0.032 302.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #AFA7BD 2.31:1 Fails Lc -50.5 Large or bold text, headings
Black text on #AFA7BD 9.08:1 AAA Lc 58.4 Large or bold text, headings
#AFA7BD text on white 2.31:1 Fails Lc 45.6 Large or bold text, headings
#AFA7BD text on black 9.08:1 AAA Lc -56.5 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EAE9ED

    oklch(93.6% 0.005 297.7)

  3. Step 200

    200

    #DAD7DF

    oklch(88.4% 0.011 303.1)

  4. Step 300

    300

    #C3BECC

    oklch(81% 0.02 302.1)

  5. Step 400

    400 (this color)

    #AFA7BD

    oklch(74.2% 0.032 302.1)

  6. Step 500

    500

    #8E849F

    oklch(63.1% 0.041 302.1)

  7. Step 600

    600

    #786D8A

    oklch(55.5% 0.046 302.2)

  8. Step 700

    700

    #655B75

    oklch(49% 0.043 302.4)

  9. Step 800

    800

    #524B5F

    oklch(42.7% 0.034 301)

  10. Step 900

    900

    #443E4E

    oklch(37.6% 0.028 302.2)

  11. Step 950

    950

    #28252E

    oklch(27.2% 0.017 300.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA7BD with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#A3AABE0.018
Deuteranopia (no green cones)#A5AABC0.016
Tritanopia (no blue cones)#ADAAAE0.026
Achromatopsia (no color)#AAAAAA0.033

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #AFA7BD

    #AFA7BD

    oklch(74.2% 0.032 302.1)

  • #A8AF99

    #A8AF99

    oklch(74.2% 0.032 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7BD

    #AFA7BD

    oklch(74.2% 0.032 302.1)

  • #A4ABC1

    #A4ABC1

    oklch(74.3% 0.033 271.6)

  • #B8A4B5

    #B8A4B5

    oklch(74.1% 0.033 330.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #AFA7BD

    #AFA7BD

    oklch(74.2% 0.032 302.1)

  • #B3AB95

    #B3AB95

    oklch(74.2% 0.032 90.4)

  • #9DB2A2

    #9DB2A2

    oklch(74.3% 0.033 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7BD

    #AFA7BD

    oklch(74.2% 0.032 302.1)

  • #BBA797

    #BBA797

    oklch(74.1% 0.032 61)

  • #96B3AD

    #96B3AD

    oklch(74.3% 0.033 181.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7BD

    #AFA7BD

    oklch(74.2% 0.032 302.1)

  • #BFA59F

    #BFA59F

    oklch(74.3% 0.032 33.1)

  • #A8AF99

    #A8AF99

    oklch(74.2% 0.032 121.5)

  • #95B1B7

    #95B1B7

    oklch(74.1% 0.032 212.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AFA7BD, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #AFA7BD in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.