#AFA2B9

Closest named color: Dark Gray (#A9A9A9). oklch(73.1% 0.036 310.6), rgb(175, 162, 185).

Aa

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

About this color

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

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

Values

HEX#AFA2B9
RGBrgb(175, 162, 185)
HSLhsl(274, 14%, 68%)
OKLCHoklch(73.1% 0.036 310.6)

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 #AFA2B9 2.41:1 Fails Lc -52.6 Large or bold text, headings
Black text on #AFA2B9 8.69:1 AAA Lc 56.4 Large or bold text, headings
#AFA2B9 text on white 2.41:1 Fails Lc 47.6 Large or bold text, headings
#AFA2B9 text on black 8.69:1 AAA Lc -54.4 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

    #DCD7DF

    oklch(88.5% 0.012 313.2)

  4. Step 300

    300

    #C5BDCC

    oklch(80.9% 0.023 309.5)

  5. Step 400

    400 (this color)

    #AFA2B9

    oklch(73.1% 0.036 310.6)

  6. Step 500

    500

    #92829E

    oklch(63.1% 0.045 310.7)

  7. Step 600

    600

    #7D6B89

    oklch(55.6% 0.05 311.7)

  8. Step 700

    700

    #695A74

    oklch(49.2% 0.045 310.7)

  9. Step 800

    800

    #56495F

    oklch(42.7% 0.039 311.3)

  10. Step 900

    900

    #473D4E

    oklch(37.7% 0.031 311.3)

  11. Step 950

    950

    #29242D

    oklch(27% 0.018 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2B9 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)#9FA6BA0.024
Deuteranopia (no green cones)#A1A7B80.023
Tritanopia (no blue cones)#AEA5A90.027
Achromatopsia (no color)#A7A7A70.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2B9

    #AFA2B9

    oklch(73.1% 0.036 310.6)

  • #A0AD96

    #A0AD96

    oklch(73.1% 0.036 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2B9

    #AFA2B9

    oklch(73.1% 0.036 310.6)

  • #A3A6BF

    #A3A6BF

    oklch(73.1% 0.036 280)

  • #B8A0AF

    #B8A0AF

    oklch(73.1% 0.035 340.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2B9

    #AFA2B9

    oklch(73.1% 0.036 310.6)

  • #ADA98F

    #ADA98F

    oklch(73.1% 0.037 100)

  • #95AFA0

    #95AFA0

    oklch(73% 0.036 160.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2B9

    #AFA2B9

    oklch(73.1% 0.036 310.6)

  • #B7A590

    #B7A590

    oklch(73.2% 0.036 71.5)

  • #8FB0AD

    #8FB0AD

    oklch(73.2% 0.036 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2B9

    #AFA2B9

    oklch(73.1% 0.036 310.6)

  • #BDA197

    #BDA197

    oklch(73.1% 0.036 40.6)

  • #A0AD96

    #A0AD96

    oklch(73.1% 0.036 131.5)

  • #90AEB8

    #90AEB8

    oklch(73.2% 0.036 220)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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