#AFA7D9

Closest named color: Pale Purple (#B790D4). oklch(75.2% 0.072 291.9), rgb(175, 167, 217).

Aa

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

About this color

#AFA7D9 is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.072 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.058 away. Black text reads best on it, at 9.35:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text9.35:1
White text2.24:1

Values

HEX#AFA7D9
RGBrgb(175, 167, 217)
HSLhsl(250, 40%, 75%)
OKLCHoklch(75.2% 0.072 291.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 #AFA7D9 2.24:1 Fails Lc -49.1 Large or bold text, headings
Black text on #AFA7D9 9.35:1 AAA Lc 59.7 Large or bold text, headings
#AFA7D9 text on white 2.24:1 Fails Lc 44.2 Non-text elements, placeholder text
#AFA7D9 text on black 9.35:1 AAA Lc -57.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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #D9D7E9

    oklch(88.6% 0.025 291)

  4. Step 300

    300

    #C1BCDC

    oklch(81% 0.045 292.5)

  5. Step 400

    400 (this color)

    #AFA7D9

    oklch(75.2% 0.072 291.9)

  6. Step 500

    500

    #8A7FBC

    oklch(63% 0.091 291.8)

  7. Step 600

    600

    #7568A9

    oklch(55.7% 0.1 292)

  8. Step 700

    700

    #625691

    oklch(49.1% 0.093 291.9)

  9. Step 800

    800

    #504775

    oklch(42.8% 0.075 291.9)

  10. Step 900

    900

    #423C5F

    oklch(37.8% 0.059 291.2)

  11. Step 950

    950

    #272337

    oklch(27% 0.037 292.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA7D9 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)#9BAEDB0.030
Deuteranopia (no green cones)#9CACD80.028
Tritanopia (no blue cones)#A7AFB80.061
Achromatopsia (no color)#ADADAD0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA7D9

    #AFA7D9

    oklch(75.2% 0.072 291.9)

  • #AFB47F

    #AFB47F

    oklch(75.3% 0.072 112.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7D9

    #AFA7D9

    oklch(75.2% 0.072 291.9)

  • #96AFDD

    #96AFDD

    oklch(75.2% 0.072 262.5)

  • #C5A0CA

    #C5A0CA

    oklch(75.3% 0.072 322.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA7D9

    #AFA7D9

    oklch(75.2% 0.072 291.9)

  • #C6AB7A

    #C6AB7A

    oklch(75.3% 0.072 82)

  • #95BB91

    #95BB91

    oklch(75.3% 0.072 142.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7D9

    #AFA7D9

    oklch(75.2% 0.072 291.9)

  • #D4A285

    #D4A285

    oklch(75.2% 0.072 51.4)

  • #7FBEA9

    #7FBEA9

    oklch(75.3% 0.072 171.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7D9

    #AFA7D9

    oklch(75.2% 0.072 291.9)

  • #D99D9A

    #D99D9A

    oklch(75.2% 0.072 22.2)

  • #AFB47F

    #AFB47F

    oklch(75.3% 0.072 112.5)

  • #76BDC2

    #76BDC2

    oklch(75.3% 0.072 201.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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