#AFA5C7

Closest named color: Cool Steel (#97A7B3). oklch(74.2% 0.05 298.6), rgb(175, 165, 199).

Aa

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

About this color

#AFA5C7 is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.050 and its hue 299°. 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.02:1.

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

Values

HEX#AFA5C7
RGBrgb(175, 165, 199)
HSLhsl(258, 23%, 71%)
OKLCHoklch(74.2% 0.05 298.6)

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 #AFA5C7 2.32:1 Fails Lc -50.8 Large or bold text, headings
Black text on #AFA5C7 9.02:1 AAA Lc 58.1 Large or bold text, headings
#AFA5C7 text on white 2.32:1 Fails Lc 45.9 Large or bold text, headings
#AFA5C7 text on black 9.02:1 AAA Lc -56.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

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #DAD7E3

    oklch(88.5% 0.017 297.5)

  4. Step 300

    300

    #C3BDD2

    oklch(81% 0.03 298.8)

  5. Step 400

    400 (this color)

    #AFA5C7

    oklch(74.2% 0.05 298.6)

  6. Step 500

    500

    #8E81AB

    oklch(63% 0.064 298.7)

  7. Step 600

    600

    #786B97

    oklch(55.7% 0.069 297.7)

  8. Step 700

    700

    #655980

    oklch(49.1% 0.063 298.2)

  9. Step 800

    800

    #534968

    oklch(42.8% 0.052 299)

  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

#AFA5C7 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)#9FAAC90.024
Deuteranopia (no green cones)#A0AAC60.024
Tritanopia (no blue cones)#ABAAB00.041
Achromatopsia (no color)#AAAAAA0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5C7

    #AFA5C7

    oklch(74.2% 0.05 298.6)

  • #A8B08D

    #A8B08D

    oklch(74.1% 0.049 118.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5C7

    #AFA5C7

    oklch(74.2% 0.05 298.6)

  • #9EABCC

    #9EABCC

    oklch(74.2% 0.05 268.2)

  • #BDA1BB

    #BDA1BB

    oklch(74.2% 0.048 328.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5C7

    #AFA5C7

    oklch(74.2% 0.05 298.6)

  • #B8AA88

    #B8AA88

    oklch(74.1% 0.049 88.3)

  • #97B49A

    #97B49A

    oklch(74.1% 0.049 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5C7

    #AFA5C7

    oklch(74.2% 0.05 298.6)

  • #C4A48D

    #C4A48D

    oklch(74.1% 0.05 57.6)

  • #8AB6AC

    #8AB6AC

    oklch(74.2% 0.049 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5C7

    #AFA5C7

    oklch(74.2% 0.05 298.6)

  • #C9A09A

    #C9A09A

    oklch(74.2% 0.05 27.9)

  • #A8B08D

    #A8B08D

    oklch(74.1% 0.049 118.1)

  • #87B5BC

    #87B5BC

    oklch(74.3% 0.05 207.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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