#AFA1BA

Closest named color: Dark Gray (#A9A9A9). oklch(72.9% 0.039 310.4), rgb(175, 161, 186).

Aa

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

About this color

#AFA1BA is a medium-light, muted purple. In OKLCH its lightness is 73%, its chroma 0.039 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.039 away. Black text reads best on it, at 8.62:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamuted (0.039)
Temperaturein between
Nearest nameDark Gray (#A9A9A9)
Black text8.62:1
White text2.43:1

Values

HEX#AFA1BA
RGBrgb(175, 161, 186)
HSLhsl(274, 15%, 68%)
OKLCHoklch(72.9% 0.039 310.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 #AFA1BA 2.43:1 Fails Lc -52.9 Large or bold text, headings
Black text on #AFA1BA 8.62:1 AAA Lc 56.1 Large or bold text, headings
#AFA1BA text on white 2.43:1 Fails Lc 47.9 Large or bold text, headings
#AFA1BA text on black 8.62: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

    #EBE9ED

    oklch(93.7% 0.006 308.4)

  3. Step 200

    200

    #DCD7E0

    oklch(88.6% 0.013 310.5)

  4. Step 300

    300

    #C5BDCD

    oklch(81% 0.024 308.1)

  5. Step 400

    400 (this color)

    #AFA1BA

    oklch(72.9% 0.039 310.4)

  6. Step 500

    500

    #9381A0

    oklch(63% 0.05 311)

  7. Step 600

    600

    #7D6B8B

    oklch(55.6% 0.053 310.1)

  8. Step 700

    700

    #6A5976

    oklch(49.2% 0.05 311)

  9. Step 800

    800

    #564960

    oklch(42.7% 0.041 310.2)

  10. Step 900

    900

    #473D4F

    oklch(37.7% 0.033 309.9)

  11. Step 950

    950

    #2A242E

    oklch(27.1% 0.02 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFA1BA 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)#9EA5BB0.025
Deuteranopia (no green cones)#A0A6B90.024
Tritanopia (no blue cones)#AEA4A90.029
Achromatopsia (no color)#A6A6A60.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1BA

    #AFA1BA

    oklch(72.9% 0.039 310.4)

  • #9FAD93

    #9FAD93

    oklch(72.9% 0.04 130.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1BA

    #AFA1BA

    oklch(72.9% 0.039 310.4)

  • #A2A5C0

    #A2A5C0

    oklch(72.8% 0.039 280.4)

  • #B99EAF

    #B99EAF

    oklch(72.8% 0.039 340)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1BA

    #AFA1BA

    oklch(72.9% 0.039 310.4)

  • #ADA88D

    #ADA88D

    oklch(72.8% 0.038 98.6)

  • #93AF9F

    #93AF9F

    oklch(72.8% 0.038 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1BA

    #AFA1BA

    oklch(72.9% 0.039 310.4)

  • #B8A48D

    #B8A48D

    oklch(73% 0.04 71)

  • #8CB0AD

    #8CB0AD

    oklch(73% 0.039 190)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1BA

    #AFA1BA

    oklch(72.9% 0.039 310.4)

  • #BEA095

    #BEA095

    oklch(72.9% 0.039 41.2)

  • #9FAD93

    #9FAD93

    oklch(72.9% 0.04 130.5)

  • #8DAEB9

    #8DAEB9

    oklch(73% 0.039 220.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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