#AFA6BB

Closest named color: Dark Gray (#A9A9A9). oklch(73.9% 0.031 305), rgb(175, 166, 187).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.031)
Temperaturein between
Nearest nameDark Gray (#A9A9A9)
Black text8.99:1
White text2.33:1

Values

HEX#AFA6BB
RGBrgb(175, 166, 187)
HSLhsl(266, 13%, 69%)
OKLCHoklch(73.9% 0.031 305)

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 #AFA6BB 2.33:1 Fails Lc -51.0 Large or bold text, headings
Black text on #AFA6BB 8.99:1 AAA Lc 57.9 Large or bold text, headings
#AFA6BB text on white 2.33:1 Fails Lc 46.1 Large or bold text, headings
#AFA6BB text on black 8.99:1 AAA Lc -56.0 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

    #DBD7DF

    oklch(88.5% 0.012 308.3)

  4. Step 300

    300

    #C3BECB

    oklch(80.9% 0.019 303.4)

  5. Step 400

    400 (this color)

    #AFA6BB

    oklch(73.9% 0.031 305)

  6. Step 500

    500

    #8F849D

    oklch(63.2% 0.039 305.2)

  7. Step 600

    600

    #796D88

    oklch(55.5% 0.043 305.2)

  8. Step 700

    700

    #665B74

    oklch(49.1% 0.041 304.9)

  9. Step 800

    800

    #534B5E

    oklch(42.8% 0.032 304.2)

  10. Step 900

    900

    #453E4D

    oklch(37.7% 0.027 306.2)

  11. Step 950

    950

    #28242D

    oklch(26.9% 0.017 305.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA6BB 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)#A3A9BC0.018
Deuteranopia (no green cones)#A4AABA0.018
Tritanopia (no blue cones)#ADA9AD0.025
Achromatopsia (no color)#AAAAAA0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA6BB

    #AFA6BB

    oklch(73.9% 0.031 305)

  • #A6AE99

    #A6AE99

    oklch(73.9% 0.031 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA6BB

    #AFA6BB

    oklch(73.9% 0.031 305)

  • #A4AABF

    #A4AABF

    oklch(74% 0.031 273)

  • #B8A4B3

    #B8A4B3

    oklch(74.1% 0.031 334.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA6BB

    #AFA6BB

    oklch(73.9% 0.031 305)

  • #B1AB95

    #B1AB95

    oklch(74% 0.031 94.4)

  • #9CB1A2

    #9CB1A2

    oklch(74% 0.032 154.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA6BB

    #AFA6BB

    oklch(73.9% 0.031 305)

  • #B9A796

    #B9A796

    oklch(73.9% 0.032 65.7)

  • #95B1AD

    #95B1AD

    oklch(73.8% 0.031 186)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA6BB

    #AFA6BB

    oklch(73.9% 0.031 305)

  • #BDA49D

    #BDA49D

    oklch(73.9% 0.031 36.1)

  • #A6AE99

    #A6AE99

    oklch(73.9% 0.031 124.2)

  • #95B0B7

    #95B0B7

    oklch(73.9% 0.031 215.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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