#AFA7C7

Closest named color: French Gray (#ADB5BD). oklch(74.6% 0.046 296.7), rgb(175, 167, 199).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromamuted (0.046)
Temperaturein between
Nearest nameFrench Gray (#ADB5BD)
Black text9.17:1
White text2.28:1

Values

HEX#AFA7C7
RGBrgb(175, 167, 199)
HSLhsl(255, 22%, 72%)
OKLCHoklch(74.6% 0.046 296.7)

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 #AFA7C7 2.28:1 Fails Lc -50.0 Large or bold text, headings
Black text on #AFA7C7 9.17:1 AAA Lc 58.8 Large or bold text, headings
#AFA7C7 text on white 2.28:1 Fails Lc 45.1 Large or bold text, headings
#AFA7C7 text on black 9.17:1 AAA Lc -57.0 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #DAD7E3

    oklch(88.5% 0.017 297.5)

  4. Step 300

    300

    #C2BDD2

    oklch(80.9% 0.03 296.6)

  5. Step 400

    400 (this color)

    #AFA7C7

    oklch(74.6% 0.046 296.7)

  6. Step 500

    500

    #8D82AA

    oklch(63.1% 0.06 297.2)

  7. Step 600

    600

    #776C95

    oklch(55.7% 0.064 296.6)

  8. Step 700

    700

    #645A7F

    oklch(49.2% 0.059 296.6)

  9. Step 800

    800

    #514967

    oklch(42.6% 0.05 296.5)

  10. Step 900

    900

    #433D54

    oklch(37.6% 0.039 296.4)

  11. Step 950

    950

    #272431

    oklch(26.9% 0.024 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA7C7 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)#A1ABC80.021
Deuteranopia (no green cones)#A2ABC60.020
Tritanopia (no blue cones)#ABACB20.038
Achromatopsia (no color)#ABABAB0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA7C7

    #AFA7C7

    oklch(74.6% 0.046 296.7)

  • #AAB190

    #AAB190

    oklch(74.6% 0.046 117.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7C7

    #AFA7C7

    oklch(74.6% 0.046 296.7)

  • #9FACCB

    #9FACCB

    oklch(74.5% 0.047 267.3)

  • #BDA3BC

    #BDA3BC

    oklch(74.6% 0.046 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA7C7

    #AFA7C7

    oklch(74.6% 0.046 296.7)

  • #B9AB8C

    #B9AB8C

    oklch(74.5% 0.046 86.6)

  • #9AB59C

    #9AB59C

    oklch(74.6% 0.046 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7C7

    #AFA7C7

    oklch(74.6% 0.046 296.7)

  • #C4A691

    #C4A691

    oklch(74.6% 0.046 56.9)

  • #8EB7AC

    #8EB7AC

    oklch(74.6% 0.047 176.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7C7

    #AFA7C7

    oklch(74.6% 0.046 296.7)

  • #C8A29D

    #C8A29D

    oklch(74.5% 0.046 26.9)

  • #AAB190

    #AAB190

    oklch(74.6% 0.046 117.3)

  • #8BB5BB

    #8BB5BB

    oklch(74.5% 0.046 207.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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