#AFA2D7

Closest named color: Pale Purple (#B790D4). oklch(74.2% 0.077 295.7), rgb(175, 162, 215).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.97:1
White text2.34:1

Values

HEX#AFA2D7
RGBrgb(175, 162, 215)
HSLhsl(255, 40%, 74%)
OKLCHoklch(74.2% 0.077 295.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 #AFA2D7 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #AFA2D7 8.97:1 AAA Lc 57.8 Large or bold text, headings
#AFA2D7 text on white 2.34:1 Fails Lc 46.1 Large or bold text, headings
#AFA2D7 text on black 8.97:1 AAA Lc -55.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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E9

    oklch(88.5% 0.026 295.5)

  4. Step 300

    300

    #C3BBDD

    oklch(81% 0.048 296.1)

  5. Step 400

    400 (this color)

    #AFA2D7

    oklch(74.2% 0.077 295.7)

  6. Step 500

    500

    #8E7DBE

    oklch(63.1% 0.097 295.5)

  7. Step 600

    600

    #7965AA

    oklch(55.5% 0.106 296.1)

  8. Step 700

    700

    #665492

    oklch(49.1% 0.098 295.9)

  9. Step 800

    800

    #534577

    oklch(42.7% 0.082 295.6)

  10. Step 900

    900

    #443A60

    oklch(37.6% 0.065 295.2)

  11. Step 950

    950

    #282238

    oklch(26.9% 0.041 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2D7 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)#96AAD90.038
Deuteranopia (no green cones)#98A9D50.036
Tritanopia (no blue cones)#A8AAB40.063
Achromatopsia (no color)#A9A9A90.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2D7

    #AFA2D7

    oklch(74.2% 0.077 295.7)

  • #A9B27A

    #A9B27A

    oklch(74.3% 0.076 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2D7

    #AFA2D7

    oklch(74.2% 0.077 295.7)

  • #94ABDD

    #94ABDD

    oklch(74.2% 0.077 265.4)

  • #C59BC6

    #C59BC6

    oklch(74.2% 0.077 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2D7

    #AFA2D7

    oklch(74.2% 0.077 295.7)

  • #C1A873

    #C1A873

    oklch(74.1% 0.076 85.4)

  • #8DB98E

    #8DB98E

    oklch(74.2% 0.077 145.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2D7

    #AFA2D7

    oklch(74.2% 0.077 295.7)

  • #D29F7C

    #D29F7C

    oklch(74.2% 0.077 55.7)

  • #75BCA9

    #75BCA9

    oklch(74.3% 0.077 175.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2D7

    #AFA2D7

    oklch(74.2% 0.077 295.7)

  • #D89992

    #D89992

    oklch(74.2% 0.077 26.2)

  • #A9B27A

    #A9B27A

    oklch(74.3% 0.076 115.7)

  • #6DBAC3

    #6DBAC3

    oklch(74.3% 0.077 205.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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