#AFA2C8

Closest named color: Cool Steel (#97A7B3). oklch(73.6% 0.056 300.7), rgb(175, 162, 200).

Aa

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

About this color

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

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

Values

HEX#AFA2C8
RGBrgb(175, 162, 200)
HSLhsl(261, 26%, 71%)
OKLCHoklch(73.6% 0.056 300.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 #AFA2C8 2.37:1 Fails Lc -51.9 Large or bold text, headings
Black text on #AFA2C8 8.82:1 AAA Lc 57.1 Large or bold text, headings
#AFA2C8 text on white 2.37:1 Fails Lc 46.9 Large or bold text, headings
#AFA2C8 text on black 8.82:1 AAA Lc -55.1 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

    #DBD6E4

    oklch(88.4% 0.02 302.2)

  4. Step 300

    300

    #C4BCD4

    oklch(80.9% 0.034 300.8)

  5. Step 400

    400 (this color)

    #AFA2C8

    oklch(73.6% 0.056 300.7)

  6. Step 500

    500

    #9080AE

    oklch(63.1% 0.07 300.3)

  7. Step 600

    600

    #7B699A

    oklch(55.7% 0.077 300.8)

  8. Step 700

    700

    #675784

    oklch(49.1% 0.073 300.1)

  9. Step 800

    800

    #54476B

    oklch(42.6% 0.06 300.4)

  10. Step 900

    900

    #463C57

    oklch(37.8% 0.047 301.2)

  11. Step 950

    950

    #292333

    oklch(27% 0.03 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2C8 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)#9BA8CA0.030
Deuteranopia (no green cones)#9DA8C70.029
Tritanopia (no blue cones)#ABA7AF0.044
Achromatopsia (no color)#A8A8A80.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2C8

    #AFA2C8

    oklch(73.6% 0.056 300.7)

  • #A4AF88

    #A4AF88

    oklch(73.5% 0.055 120.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2C8

    #AFA2C8

    oklch(73.6% 0.056 300.7)

  • #9CA8CE

    #9CA8CE

    oklch(73.5% 0.057 271.2)

  • #BF9DBA

    #BF9DBA

    oklch(73.6% 0.056 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2C8

    #AFA2C8

    oklch(73.6% 0.056 300.7)

  • #B7A982

    #B7A982

    oklch(73.7% 0.056 90.6)

  • #91B498

    #91B498

    oklch(73.6% 0.055 150.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2C8

    #AFA2C8

    oklch(73.6% 0.056 300.7)

  • #C4A286

    #C4A286

    oklch(73.6% 0.056 61.3)

  • #83B6AB

    #83B6AB

    oklch(73.7% 0.056 179.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2C8

    #AFA2C8

    oklch(73.6% 0.056 300.7)

  • #CA9D95

    #CA9D95

    oklch(73.6% 0.055 30)

  • #A4AF88

    #A4AF88

    oklch(73.5% 0.055 120.6)

  • #80B4BD

    #80B4BD

    oklch(73.7% 0.056 209.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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