#AFA7D5

Closest named color: Pale Purple (#B790D4). oklch(75.1% 0.066 292.7), rgb(175, 167, 213).

Aa

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

About this color

#AFA7D5 is a medium-light, muted purple. In OKLCH its lightness is 75%, its chroma 0.066 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.059 away. Black text reads best on it, at 9.31:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamuted (0.066)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text9.31:1
White text2.25:1

Values

HEX#AFA7D5
RGBrgb(175, 167, 213)
HSLhsl(250, 35%, 75%)
OKLCHoklch(75.1% 0.066 292.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 #AFA7D5 2.25:1 Fails Lc -49.3 Large or bold text, headings
Black text on #AFA7D5 9.31:1 AAA Lc 59.5 Large or bold text, headings
#AFA7D5 text on white 2.25:1 Fails Lc 44.5 Non-text elements, placeholder text
#AFA7D5 text on black 9.31:1 AAA Lc -57.7 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

    #EAE8F1

    oklch(93.5% 0.012 296.3)

  3. Step 200

    200

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  4. Step 300

    300

    #C1BCDA

    oklch(80.9% 0.042 293.1)

  5. Step 400

    400 (this color)

    #AFA7D5

    oklch(75.1% 0.066 292.7)

  6. Step 500

    500

    #8B80B8

    oklch(63.1% 0.084 292.8)

  7. Step 600

    600

    #7569A4

    oklch(55.6% 0.091 292.5)

  8. Step 700

    700

    #62578D

    oklch(49.1% 0.086 292.3)

  9. Step 800

    800

    #504772

    oklch(42.6% 0.071 292.8)

  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

#AFA7D5 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)#9DADD70.027
Deuteranopia (no green cones)#9DACD40.027
Tritanopia (no blue cones)#A8AEB70.055
Achromatopsia (no color)#ADADAD0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA7D5

    #AFA7D5

    oklch(75.1% 0.066 292.7)

  • #AEB383

    #AEB383

    oklch(75.1% 0.066 112.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7D5

    #AFA7D5

    oklch(75.1% 0.066 292.7)

  • #98AFD9

    #98AFD9

    oklch(75.1% 0.066 262.4)

  • #C3A1C7

    #C3A1C7

    oklch(75.2% 0.066 322.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA7D5

    #AFA7D5

    oklch(75.1% 0.066 292.7)

  • #C3AB7E

    #C3AB7E

    oklch(75.1% 0.066 82.9)

  • #96B993

    #96B993

    oklch(75% 0.066 142.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7D5

    #AFA7D5

    oklch(75.1% 0.066 292.7)

  • #D0A388

    #D0A388

    oklch(75% 0.065 52.4)

  • #82BCAA

    #82BCAA

    oklch(75% 0.066 173.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7D5

    #AFA7D5

    oklch(75.1% 0.066 292.7)

  • #D59E9B

    #D59E9B

    oklch(75% 0.066 22.3)

  • #AEB383

    #AEB383

    oklch(75.1% 0.066 112.8)

  • #7BBBC1

    #7BBBC1

    oklch(75.1% 0.066 203.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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