#AFA7C5

Closest named color: French Gray (#ADB5BD). oklch(74.5% 0.043 297.5), rgb(175, 167, 197).

Aa

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

About this color

#AFA7C5 is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.043 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is French Gray (#ADB5BD), ΔE 0.043 away. Black text reads best on it, at 9.15:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.043)
Temperaturein between
Nearest nameFrench Gray (#ADB5BD)
Black text9.15:1
White text2.29:1

Values

HEX#AFA7C5
RGBrgb(175, 167, 197)
HSLhsl(256, 21%, 71%)
OKLCHoklch(74.5% 0.043 297.5)

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 #AFA7C5 2.29:1 Fails Lc -50.1 Large or bold text, headings
Black text on #AFA7C5 9.15:1 AAA Lc 58.7 Large or bold text, headings
#AFA7C5 text on white 2.29:1 Fails Lc 45.2 Large or bold text, headings
#AFA7C5 text on black 9.15:1 AAA Lc -56.9 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #DAD7E2

    oklch(88.5% 0.015 298.5)

  4. Step 300

    300

    #C2BDD0

    oklch(80.8% 0.027 297.8)

  5. Step 400

    400 (this color)

    #AFA7C5

    oklch(74.5% 0.043 297.5)

  6. Step 500

    500

    #8D83A7

    oklch(63.2% 0.054 297.5)

  7. Step 600

    600

    #776C93

    oklch(55.6% 0.061 297.3)

  8. Step 700

    700

    #645A7D

    oklch(49.1% 0.056 297.4)

  9. Step 800

    800

    #524A66

    oklch(42.8% 0.047 297.5)

  10. Step 900

    900

    #443E53

    oklch(37.8% 0.036 297.7)

  11. Step 950

    950

    #282430

    oklch(27% 0.023 300.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFA7C5 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)#A1ABC60.021
Deuteranopia (no green cones)#A2ABC40.020
Tritanopia (no blue cones)#ABABB10.035
Achromatopsia (no color)#ABABAB0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA7C5

    #AFA7C5

    oklch(74.5% 0.043 297.5)

  • #AAB092

    #AAB092

    oklch(74.4% 0.042 116.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7C5

    #AFA7C5

    oklch(74.5% 0.043 297.5)

  • #A0ACC9

    #A0ACC9

    oklch(74.5% 0.044 267.6)

  • #BCA3BB

    #BCA3BB

    oklch(74.5% 0.044 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA7C5

    #AFA7C5

    oklch(74.5% 0.043 297.5)

  • #B8AB8E

    #B8AB8E

    oklch(74.5% 0.043 86.7)

  • #9BB49D

    #9BB49D

    oklch(74.4% 0.043 147.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7C5

    #AFA7C5

    oklch(74.5% 0.043 297.5)

  • #C2A692

    #C2A692

    oklch(74.4% 0.043 57.5)

  • #90B6AC

    #90B6AC

    oklch(74.6% 0.043 177.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7C5

    #AFA7C5

    oklch(74.5% 0.043 297.5)

  • #C7A29D

    #C7A29D

    oklch(74.4% 0.045 27.2)

  • #AAB092

    #AAB092

    oklch(74.4% 0.042 116.6)

  • #8DB5BB

    #8DB5BB

    oklch(74.6% 0.044 207.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #AFA7C5 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.