#AFA1BB

Closest named color: Cool Steel (#97A7B3). oklch(72.9% 0.04 309.5), rgb(175, 161, 187).

Aa

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

About this color

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

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

Values

HEX#AFA1BB
RGBrgb(175, 161, 187)
HSLhsl(272, 16%, 68%)
OKLCHoklch(72.9% 0.04 309.5)

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 #AFA1BB 2.43:1 Fails Lc -52.9 Large or bold text, headings
Black text on #AFA1BB 8.63:1 AAA Lc 56.1 Large or bold text, headings
#AFA1BB text on white 2.43:1 Fails Lc 47.9 Large or bold text, headings
#AFA1BB text on black 8.63:1 AAA Lc -54.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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9EE

    oklch(93.7% 0.007 304.2)

  3. Step 200

    200

    #DCD7E0

    oklch(88.6% 0.013 310.5)

  4. Step 300

    300

    #C5BCCD

    oklch(80.8% 0.026 309.3)

  5. Step 400

    400 (this color)

    #AFA1BB

    oklch(72.9% 0.04 309.5)

  6. Step 500

    500

    #9381A1

    oklch(63.1% 0.051 310.2)

  7. Step 600

    600

    #7D6B8C

    oklch(55.7% 0.054 309.3)

  8. Step 700

    700

    #695977

    oklch(49.1% 0.051 308.8)

  9. Step 800

    800

    #564961

    oklch(42.8% 0.042 309.2)

  10. Step 900

    900

    #473D4F

    oklch(37.7% 0.033 309.9)

  11. Step 950

    950

    #29242E

    oklch(27% 0.02 307.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA1BB 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)#9DA5BC0.026
Deuteranopia (no green cones)#A0A6BA0.024
Tritanopia (no blue cones)#AEA4AA0.029
Achromatopsia (no color)#A6A6A60.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1BB

    #AFA1BB

    oklch(72.9% 0.04 309.5)

  • #9FAD92

    #9FAD92

    oklch(72.9% 0.041 129.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1BB

    #AFA1BB

    oklch(72.9% 0.04 309.5)

  • #A2A5C1

    #A2A5C1

    oklch(72.9% 0.041 280.5)

  • #B99EB0

    #B99EB0

    oklch(72.9% 0.04 338.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1BB

    #AFA1BB

    oklch(72.9% 0.04 309.5)

  • #ADA88C

    #ADA88C

    oklch(72.8% 0.039 98.9)

  • #93B09F

    #93B09F

    oklch(73% 0.04 159.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1BB

    #AFA1BB

    oklch(72.9% 0.04 309.5)

  • #B8A48D

    #B8A48D

    oklch(73% 0.04 71)

  • #8BB0AD

    #8BB0AD

    oklch(72.9% 0.04 190.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1BB

    #AFA1BB

    oklch(72.9% 0.04 309.5)

  • #BFA095

    #BFA095

    oklch(73% 0.04 40.5)

  • #9FAD92

    #9FAD92

    oklch(72.9% 0.041 129.8)

  • #8CAEB9

    #8CAEB9

    oklch(72.9% 0.04 219.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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