#AFA0C8

Closest named color: Pale Purple (#B790D4). oklch(73.2% 0.059 302.1), rgb(175, 160, 200).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromamuted (0.059)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.68:1
White text2.41:1

Values

HEX#AFA0C8
RGBrgb(175, 160, 200)
HSLhsl(263, 27%, 71%)
OKLCHoklch(73.2% 0.059 302.1)

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 #AFA0C8 2.41:1 Fails Lc -52.6 Large or bold text, headings
Black text on #AFA0C8 8.68:1 AAA Lc 56.4 Large or bold text, headings
#AFA0C8 text on white 2.41:1 Fails Lc 47.6 Large or bold text, headings
#AFA0C8 text on black 8.68:1 AAA Lc -54.4 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DBD6E5

    oklch(88.5% 0.021 301.1)

  4. Step 300

    300

    #C5BBD5

    oklch(80.8% 0.038 303)

  5. Step 400

    400 (this color)

    #AFA0C8

    oklch(73.2% 0.059 302.1)

  6. Step 500

    500

    #927FB0

    oklch(63.2% 0.075 302.1)

  7. Step 600

    600

    #7C689C

    oklch(55.7% 0.082 301.5)

  8. Step 700

    700

    #695685

    oklch(49.1% 0.077 302.2)

  9. Step 800

    800

    #55466C

    oklch(42.6% 0.064 301.9)

  10. Step 900

    900

    #463B58

    oklch(37.6% 0.05 301.4)

  11. Step 950

    950

    #292333

    oklch(27% 0.03 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA0C8 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)#99A6CA0.033
Deuteranopia (no green cones)#9BA6C70.031
Tritanopia (no blue cones)#ABA6AE0.047
Achromatopsia (no color)#A7A7A70.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA0C8

    #AFA0C8

    oklch(73.2% 0.059 302.1)

  • #A2AF85

    #A2AF85

    oklch(73.3% 0.06 121.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA0C8

    #AFA0C8

    oklch(73.2% 0.059 302.1)

  • #9BA7CE

    #9BA7CE

    oklch(73.3% 0.058 271.5)

  • #BF9BB9

    #BF9BB9

    oklch(73.2% 0.059 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA0C8

    #AFA0C8

    oklch(73.2% 0.059 302.1)

  • #B6A87E

    #B6A87E

    oklch(73.3% 0.059 91.8)

  • #8DB496

    #8DB496

    oklch(73.3% 0.06 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA0C8

    #AFA0C8

    oklch(73.2% 0.059 302.1)

  • #C4A182

    #C4A182

    oklch(73.3% 0.06 63.2)

  • #7EB5AB

    #7EB5AB

    oklch(73.2% 0.059 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA0C8

    #AFA0C8

    oklch(73.2% 0.059 302.1)

  • #CB9B91

    #CB9B91

    oklch(73.2% 0.06 31.9)

  • #A2AF85

    #A2AF85

    oklch(73.3% 0.06 121.9)

  • #7CB3BE

    #7CB3BE

    oklch(73.2% 0.059 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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