#AFA5BF

Closest named color: Dark Gray (#A9A9A9). oklch(73.9% 0.039 302.9), rgb(175, 165, 191).

Aa

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

About this color

#AFA5BF is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.039 and its hue 303°. 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.95:1.

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

Values

HEX#AFA5BF
RGBrgb(175, 165, 191)
HSLhsl(263, 17%, 70%)
OKLCHoklch(73.9% 0.039 302.9)

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 #AFA5BF 2.34:1 Fails Lc -51.2 Large or bold text, headings
Black text on #AFA5BF 8.95:1 AAA Lc 57.7 Large or bold text, headings
#AFA5BF text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#AFA5BF text on black 8.95:1 AAA Lc -55.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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9EE

    oklch(93.7% 0.007 304.2)

  3. Step 200

    200

    #DBD7E1

    oklch(88.5% 0.014 304.1)

  4. Step 300

    300

    #C3BDCE

    oklch(80.8% 0.024 301.9)

  5. Step 400

    400 (this color)

    #AFA5BF

    oklch(73.9% 0.039 302.9)

  6. Step 500

    500

    #8F83A3

    oklch(63.2% 0.049 302.1)

  7. Step 600

    600

    #796C8E

    oklch(55.6% 0.054 302.1)

  8. Step 700

    700

    #665A78

    oklch(49.1% 0.049 302.9)

  9. Step 800

    800

    #534A62

    oklch(42.7% 0.041 301.8)

  10. Step 900

    900

    #453E50

    oklch(37.8% 0.032 302.6)

  11. Step 950

    950

    #28242F

    oklch(26.9% 0.021 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA5BF 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)#A1A9C00.021
Deuteranopia (no green cones)#A2A9BE0.021
Tritanopia (no blue cones)#ADA8AD0.030
Achromatopsia (no color)#A9A9A90.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5BF

    #AFA5BF

    oklch(73.9% 0.039 302.9)

  • #A6AF94

    #A6AF94

    oklch(73.9% 0.039 122.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5BF

    #AFA5BF

    oklch(73.9% 0.039 302.9)

  • #A2A9C3

    #A2A9C3

    oklch(73.8% 0.038 273.5)

  • #BAA2B5

    #BAA2B5

    oklch(73.9% 0.038 333.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5BF

    #AFA5BF

    oklch(73.9% 0.039 302.9)

  • #B3AA8F

    #B3AA8F

    oklch(73.8% 0.039 91.8)

  • #99B29F

    #99B29F

    oklch(73.9% 0.039 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5BF

    #AFA5BF

    oklch(73.9% 0.039 302.9)

  • #BDA692

    #BDA692

    oklch(74% 0.039 63.2)

  • #90B3AD

    #90B3AD

    oklch(73.9% 0.039 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5BF

    #AFA5BF

    oklch(73.9% 0.039 302.9)

  • #C1A29B

    #C1A29B

    oklch(73.8% 0.038 32.8)

  • #A6AF94

    #A6AF94

    oklch(73.9% 0.039 122.4)

  • #8FB1B9

    #8FB1B9

    oklch(73.8% 0.039 213.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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