#AFA7D4

Closest named color: French Gray (#ADB5BD). oklch(75% 0.065 292.9), rgb(175, 167, 212).

Aa

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

About this color

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

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

Values

HEX#AFA7D4
RGBrgb(175, 167, 212)
HSLhsl(251, 34%, 74%)
OKLCHoklch(75% 0.065 292.9)

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 #AFA7D4 2.25:1 Fails Lc -49.3 Large or bold text, headings
Black text on #AFA7D4 9.30:1 AAA Lc 59.5 Large or bold text, headings
#AFA7D4 text on white 2.25:1 Fails Lc 44.5 Non-text elements, placeholder text
#AFA7D4 text on black 9.30:1 AAA Lc -57.6 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE9F1

    oklch(93.7% 0.011 291.9)

  3. Step 200

    200

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  4. Step 300

    300

    #C1BCD9

    oklch(80.9% 0.041 293.4)

  5. Step 400

    400 (this color)

    #AFA7D4

    oklch(75% 0.065 292.9)

  6. Step 500

    500

    #8B80B7

    oklch(63.1% 0.082 293.1)

  7. Step 600

    600

    #7569A3

    oklch(55.6% 0.089 292.8)

  8. Step 700

    700

    #62578C

    oklch(49% 0.084 292.6)

  9. Step 800

    800

    #504771

    oklch(42.5% 0.069 293.1)

  10. Step 900

    900

    #423C5C

    oklch(37.6% 0.054 292.2)

  11. Step 950

    950

    #272336

    oklch(27% 0.035 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA7D4 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)#9DADD60.027
Deuteranopia (no green cones)#9EACD30.026
Tritanopia (no blue cones)#A8AEB60.055
Achromatopsia (no color)#ACACAC0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA7D4

    #AFA7D4

    oklch(75% 0.065 292.9)

  • #AEB384

    #AEB384

    oklch(75.1% 0.064 112.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7D4

    #AFA7D4

    oklch(75% 0.065 292.9)

  • #99AFD8

    #99AFD8

    oklch(75.2% 0.064 262.8)

  • #C2A1C6

    #C2A1C6

    oklch(75% 0.064 322.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA7D4

    #AFA7D4

    oklch(75% 0.065 292.9)

  • #C2AB7F

    #C2AB7F

    oklch(75% 0.065 83.4)

  • #97B994

    #97B994

    oklch(75% 0.064 142.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7D4

    #AFA7D4

    oklch(75% 0.065 292.9)

  • #D0A388

    #D0A388

    oklch(75% 0.065 52.4)

  • #83BCAA

    #83BCAA

    oklch(75.1% 0.065 172.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7D4

    #AFA7D4

    oklch(75% 0.065 292.9)

  • #D49F9B

    #D49F9B

    oklch(75.1% 0.064 23.6)

  • #AEB384

    #AEB384

    oklch(75.1% 0.064 112.9)

  • #7CBBC0

    #7CBBC0

    oklch(75.1% 0.065 202.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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