#AFA2C9

Closest named color: Cool Steel (#97A7B3). oklch(73.6% 0.057 300.2), rgb(175, 162, 201).

Aa

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

About this color

#AFA2C9 is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.057 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Steel (#97A7B3), ΔE 0.052 away. Black text reads best on it, at 8.83:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.057)
Temperaturein between
Nearest nameCool Steel (#97A7B3)
Black text8.83:1
White text2.37:1

Values

HEX#AFA2C9
RGBrgb(175, 162, 201)
HSLhsl(260, 27%, 71%)
OKLCHoklch(73.6% 0.057 300.2)

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 #AFA2C9 2.37:1 Fails Lc -51.8 Large or bold text, headings
Black text on #AFA2C9 8.83:1 AAA Lc 57.1 Large or bold text, headings
#AFA2C9 text on white 2.37:1 Fails Lc 46.9 Large or bold text, headings
#AFA2C9 text on black 8.83:1 AAA Lc -55.2 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

    #C4BCD5

    oklch(81% 0.036 300.2)

  5. Step 400

    400 (this color)

    #AFA2C9

    oklch(73.6% 0.057 300.2)

  6. Step 500

    500

    #9080B0

    oklch(63.2% 0.073 299.6)

  7. Step 600

    600

    #7B689B

    oklch(55.5% 0.08 300.9)

  8. Step 700

    700

    #675785

    oklch(49.1% 0.074 299.7)

  9. Step 800

    800

    #54476C

    oklch(42.7% 0.062 299.9)

  10. Step 900

    900

    #453C57

    oklch(37.7% 0.047 299.5)

  11. Step 950

    950

    #292333

    oklch(27% 0.03 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2C9 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)#9BA8CB0.030
Deuteranopia (no green cones)#9DA8C80.029
Tritanopia (no blue cones)#ABA7AF0.045
Achromatopsia (no color)#A8A8A80.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2C9

    #AFA2C9

    oklch(73.6% 0.057 300.2)

  • #A5B087

    #A5B087

    oklch(73.8% 0.058 120)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2C9

    #AFA2C9

    oklch(73.6% 0.057 300.2)

  • #9CA9CF

    #9CA9CF

    oklch(73.8% 0.057 270.2)

  • #BF9DBB

    #BF9DBB

    oklch(73.6% 0.057 330)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2C9

    #AFA2C9

    oklch(73.6% 0.057 300.2)

  • #B7A981

    #B7A981

    oklch(73.7% 0.057 91)

  • #90B497

    #90B497

    oklch(73.5% 0.057 150.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2C9

    #AFA2C9

    oklch(73.6% 0.057 300.2)

  • #C5A286

    #C5A286

    oklch(73.7% 0.057 60.4)

  • #82B6AB

    #82B6AB

    oklch(73.7% 0.057 180.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2C9

    #AFA2C9

    oklch(73.6% 0.057 300.2)

  • #CB9D94

    #CB9D94

    oklch(73.6% 0.057 31.1)

  • #A5B087

    #A5B087

    oklch(73.8% 0.058 120)

  • #7FB4BE

    #7FB4BE

    oklch(73.6% 0.057 210.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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