#AFA6C8

Closest named color: Cool Steel (#97A7B3). oklch(74.4% 0.049 297.3), rgb(175, 166, 200).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.049)
Temperaturein between
Nearest nameCool Steel (#97A7B3)
Black text9.11:1
White text2.30:1

Values

HEX#AFA6C8
RGBrgb(175, 166, 200)
HSLhsl(256, 24%, 72%)
OKLCHoklch(74.4% 0.049 297.3)

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 #AFA6C8 2.30:1 Fails Lc -50.3 Large or bold text, headings
Black text on #AFA6C8 9.11:1 AAA Lc 58.5 Large or bold text, headings
#AFA6C8 text on white 2.30:1 Fails Lc 45.5 Large or bold text, headings
#AFA6C8 text on black 9.11:1 AAA Lc -56.6 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

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #DAD7E3

    oklch(88.5% 0.017 297.5)

  4. Step 300

    300

    #C2BDD3

    oklch(80.9% 0.031 296.1)

  5. Step 400

    400 (this color)

    #AFA6C8

    oklch(74.4% 0.049 297.3)

  6. Step 500

    500

    #8D82AB

    oklch(63.1% 0.062 296.9)

  7. Step 600

    600

    #776B97

    oklch(55.6% 0.068 296.6)

  8. Step 700

    700

    #655981

    oklch(49.2% 0.064 297.8)

  9. Step 800

    800

    #524969

    oklch(42.8% 0.053 297)

  10. Step 900

    900

    #443D55

    oklch(37.7% 0.041 297.8)

  11. Step 950

    950

    #282432

    oklch(27.1% 0.026 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA6C8 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)#9FABCA0.024
Deuteranopia (no green cones)#A1AAC70.022
Tritanopia (no blue cones)#ABABB10.041
Achromatopsia (no color)#ABABAB0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA6C8

    #AFA6C8

    oklch(74.4% 0.049 297.3)

  • #A9B18E

    #A9B18E

    oklch(74.5% 0.049 118.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA6C8

    #AFA6C8

    oklch(74.4% 0.049 297.3)

  • #9EACCC

    #9EACCC

    oklch(74.4% 0.049 266.6)

  • #BEA2BC

    #BEA2BC

    oklch(74.5% 0.048 328.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA6C8

    #AFA6C8

    oklch(74.4% 0.049 297.3)

  • #B9AB89

    #B9AB89

    oklch(74.4% 0.049 88.3)

  • #98B59A

    #98B59A

    oklch(74.4% 0.05 146.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA6C8

    #AFA6C8

    oklch(74.4% 0.049 297.3)

  • #C5A58E

    #C5A58E

    oklch(74.4% 0.05 57.6)

  • #8BB7AC

    #8BB7AC

    oklch(74.5% 0.05 177.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA6C8

    #AFA6C8

    oklch(74.4% 0.049 297.3)

  • #CAA19B

    #CAA19B

    oklch(74.5% 0.05 27.9)

  • #A9B18E

    #A9B18E

    oklch(74.5% 0.049 118.1)

  • #88B5BC

    #88B5BC

    oklch(74.3% 0.049 208)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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