#AFA5C8

Closest named color: Cool Steel (#97A7B3). oklch(74.2% 0.051 298.2), rgb(175, 165, 200).

Aa

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

About this color

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

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

Values

HEX#AFA5C8
RGBrgb(175, 165, 200)
HSLhsl(257, 24%, 72%)
OKLCHoklch(74.2% 0.051 298.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 #AFA5C8 2.32:1 Fails Lc -50.7 Large or bold text, headings
Black text on #AFA5C8 9.03:1 AAA Lc 58.2 Large or bold text, headings
#AFA5C8 text on white 2.32:1 Fails Lc 45.8 Large or bold text, headings
#AFA5C8 text on black 9.03:1 AAA Lc -56.3 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

    #DAD7E4

    oklch(88.5% 0.018 296.6)

  4. Step 300

    300

    #C3BDD3

    oklch(81% 0.031 298.2)

  5. Step 400

    400 (this color)

    #AFA5C8

    oklch(74.2% 0.051 298.2)

  6. Step 500

    500

    #8E81AC

    oklch(63% 0.065 298.4)

  7. Step 600

    600

    #786A98

    oklch(55.5% 0.072 298)

  8. Step 700

    700

    #655981

    oklch(49.2% 0.064 297.8)

  9. Step 800

    800

    #534869

    oklch(42.6% 0.055 299.4)

  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

#AFA5C8 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)#9EAACA0.025
Deuteranopia (no green cones)#A0AAC70.024
Tritanopia (no blue cones)#ABAAB10.041
Achromatopsia (no color)#AAAAAA0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5C8

    #AFA5C8

    oklch(74.2% 0.051 298.2)

  • #A8B08C

    #A8B08C

    oklch(74.1% 0.051 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5C8

    #AFA5C8

    oklch(74.2% 0.051 298.2)

  • #9EABCD

    #9EABCD

    oklch(74.3% 0.051 268.7)

  • #BEA0BC

    #BEA0BC

    oklch(74.1% 0.052 328.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5C8

    #AFA5C8

    oklch(74.2% 0.051 298.2)

  • #B9AA87

    #B9AA87

    oklch(74.2% 0.051 87.5)

  • #96B59A

    #96B59A

    oklch(74.2% 0.051 148.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5C8

    #AFA5C8

    oklch(74.2% 0.051 298.2)

  • #C5A48C

    #C5A48C

    oklch(74.2% 0.051 57.9)

  • #89B6AB

    #89B6AB

    oklch(74.1% 0.051 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5C8

    #AFA5C8

    oklch(74.2% 0.051 298.2)

  • #CAA09A

    #CAA09A

    oklch(74.3% 0.051 27.7)

  • #A8B08C

    #A8B08C

    oklch(74.1% 0.051 117.8)

  • #86B5BC

    #86B5BC

    oklch(74.2% 0.051 207.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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