#AFA1C8

Closest named color: Cool Steel (#97A7B3). oklch(73.4% 0.058 301.4), rgb(175, 161, 200).

Aa

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

About this color

#AFA1C8 is a medium-light, muted purple. In OKLCH its lightness is 73%, its chroma 0.058 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.052 away. Black text reads best on it, at 8.75:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamuted (0.058)
Temperaturein between
Nearest nameCool Steel (#97A7B3)
Black text8.75:1
White text2.39:1

Values

HEX#AFA1C8
RGBrgb(175, 161, 200)
HSLhsl(262, 26%, 71%)
OKLCHoklch(73.4% 0.058 301.4)

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 #AFA1C8 2.39:1 Fails Lc -52.2 Large or bold text, headings
Black text on #AFA1C8 8.75:1 AAA Lc 56.7 Large or bold text, headings
#AFA1C8 text on white 2.39:1 Fails Lc 47.3 Large or bold text, headings
#AFA1C8 text on black 8.75:1 AAA Lc -54.8 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)

    #AFA1C8

    oklch(73.4% 0.058 301.4)

  6. Step 500

    500

    #917FAF

    oklch(63% 0.074 301.5)

  7. Step 600

    600

    #7B689B

    oklch(55.5% 0.08 300.9)

  8. Step 700

    700

    #685684

    oklch(49% 0.075 301.7)

  9. Step 800

    800

    #55476B

    oklch(42.7% 0.061 301.7)

  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

#AFA1C8 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)#9AA7CA0.031
Deuteranopia (no green cones)#9CA7C70.030
Tritanopia (no blue cones)#ABA6AE0.045
Achromatopsia (no color)#A7A7A70.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1C8

    #AFA1C8

    oklch(73.4% 0.058 301.4)

  • #A3AF87

    #A3AF87

    oklch(73.4% 0.057 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1C8

    #AFA1C8

    oklch(73.4% 0.058 301.4)

  • #9CA8CE

    #9CA8CE

    oklch(73.5% 0.057 271.2)

  • #BF9CBA

    #BF9CBA

    oklch(73.4% 0.058 331)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1C8

    #AFA1C8

    oklch(73.4% 0.058 301.4)

  • #B6A880

    #B6A880

    oklch(73.3% 0.057 91)

  • #8FB497

    #8FB497

    oklch(73.5% 0.058 151.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1C8

    #AFA1C8

    oklch(73.4% 0.058 301.4)

  • #C4A184

    #C4A184

    oklch(73.3% 0.058 61.4)

  • #80B5AB

    #80B5AB

    oklch(73.3% 0.058 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1C8

    #AFA1C8

    oklch(73.4% 0.058 301.4)

  • #CB9C93

    #CB9C93

    oklch(73.4% 0.058 30.9)

  • #A3AF87

    #A3AF87

    oklch(73.4% 0.057 121.4)

  • #7EB3BE

    #7EB3BE

    oklch(73.4% 0.058 212)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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