#AFA0D4

Closest named color: Pale Purple (#B790D4). oklch(73.7% 0.076 297.7), rgb(175, 160, 212).

Aa

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

About this color

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

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

Values

HEX#AFA0D4
RGBrgb(175, 160, 212)
HSLhsl(257, 38%, 73%)
OKLCHoklch(73.7% 0.076 297.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 #AFA0D4 2.38:1 Fails Lc -52.0 Large or bold text, headings
Black text on #AFA0D4 8.80:1 AAA Lc 57.0 Large or bold text, headings
#AFA0D4 text on white 2.38:1 Fails Lc 47.0 Large or bold text, headings
#AFA0D4 text on black 8.80:1 AAA Lc -55.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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E9

    oklch(88.6% 0.026 297.9)

  4. Step 300

    300

    #C4BBDC

    oklch(81% 0.047 297.8)

  5. Step 400

    400 (this color)

    #AFA0D4

    oklch(73.7% 0.076 297.7)

  6. Step 500

    500

    #907CBD

    oklch(63% 0.098 297.7)

  7. Step 600

    600

    #7B65A9

    oklch(55.7% 0.105 297.8)

  8. Step 700

    700

    #675391

    oklch(49% 0.099 297.5)

  9. Step 800

    800

    #544575

    oklch(42.7% 0.079 297.3)

  10. Step 900

    900

    #463A5F

    oklch(37.8% 0.063 298.2)

  11. Step 950

    950

    #292238

    oklch(27% 0.041 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFA0D4 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)#95A8D60.039
Deuteranopia (no green cones)#97A7D20.037
Tritanopia (no blue cones)#A8A8B20.062
Achromatopsia (no color)#A8A8A80.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA0D4

    #AFA0D4

    oklch(73.7% 0.076 297.7)

  • #A5B17A

    #A5B17A

    oklch(73.7% 0.076 118.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA0D4

    #AFA0D4

    oklch(73.7% 0.076 297.7)

  • #95A9DA

    #95A9DA

    oklch(73.7% 0.075 267.3)

  • #C499C2

    #C499C2

    oklch(73.6% 0.075 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA0D4

    #AFA0D4

    oklch(73.7% 0.076 297.7)

  • #BEA772

    #BEA772

    oklch(73.6% 0.075 87.1)

  • #8AB78F

    #8AB78F

    oklch(73.6% 0.075 147.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA0D4

    #AFA0D4

    oklch(73.7% 0.076 297.7)

  • #CF9E7A

    #CF9E7A

    oklch(73.6% 0.076 57.5)

  • #73BAA9

    #73BAA9

    oklch(73.7% 0.076 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA0D4

    #AFA0D4

    oklch(73.7% 0.076 297.7)

  • #D6988F

    #D6988F

    oklch(73.7% 0.076 28.3)

  • #A5B17A

    #A5B17A

    oklch(73.7% 0.076 118.3)

  • #6DB8C3

    #6DB8C3

    oklch(73.8% 0.076 207.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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