#AFA4B8

Closest named color: Dark Gray (#A9A9A9). oklch(73.4% 0.031 310), rgb(175, 164, 184).

Aa

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

About this color

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

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

Values

HEX#AFA4B8
RGBrgb(175, 164, 184)
HSLhsl(273, 12%, 68%)
OKLCHoklch(73.4% 0.031 310)

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 #AFA4B8 2.37:1 Fails Lc -51.9 Large or bold text, headings
Black text on #AFA4B8 8.82:1 AAA Lc 57.1 Large or bold text, headings
#AFA4B8 text on white 2.37:1 Fails Lc 46.9 Large or bold text, headings
#AFA4B8 text on black 8.82:1 AAA Lc -55.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

    #DBD7DE

    oklch(88.4% 0.01 311.2)

  4. Step 300

    300

    #C4BDCA

    oklch(80.8% 0.02 309.8)

  5. Step 400

    400 (this color)

    #AFA4B8

    oklch(73.4% 0.031 310)

  6. Step 500

    500

    #91839C

    oklch(63.1% 0.04 310.3)

  7. Step 600

    600

    #7B6D87

    oklch(55.7% 0.043 309.2)

  8. Step 700

    700

    #685B72

    oklch(49.2% 0.039 310.3)

  9. Step 800

    800

    #554A5D

    oklch(42.7% 0.034 310.9)

  10. Step 900

    900

    #463E4C

    oklch(37.7% 0.026 310.7)

  11. Step 950

    950

    #29242D

    oklch(27% 0.018 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFA4B8 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)#A1A7B90.020
Deuteranopia (no green cones)#A3A8B70.020
Tritanopia (no blue cones)#AEA6AA0.023
Achromatopsia (no color)#A8A8A80.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA4B8

    #AFA4B8

    oklch(73.4% 0.031 310)

  • #A3AD99

    #A3AD99

    oklch(73.4% 0.03 128.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA4B8

    #AFA4B8

    oklch(73.4% 0.031 310)

  • #A5A7BD

    #A5A7BD

    oklch(73.4% 0.032 281.5)

  • #B7A2AF

    #B7A2AF

    oklch(73.4% 0.03 340.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA4B8

    #AFA4B8

    oklch(73.4% 0.031 310)

  • #ADAA94

    #ADAA94

    oklch(73.4% 0.031 100.7)

  • #99AFA2

    #99AFA2

    oklch(73.3% 0.031 159.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA4B8

    #AFA4B8

    oklch(73.4% 0.031 310)

  • #B6A695

    #B6A695

    oklch(73.4% 0.03 69)

  • #94B0AD

    #94B0AD

    oklch(73.5% 0.031 188.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA4B8

    #AFA4B8

    oklch(73.4% 0.031 310)

  • #BBA39B

    #BBA39B

    oklch(73.4% 0.031 39.3)

  • #A3AD99

    #A3AD99

    oklch(73.4% 0.03 128.9)

  • #94AEB7

    #94AEB7

    oklch(73.4% 0.032 220.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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