#AFA2B8

Closest named color: Dark Gray (#A9A9A9). oklch(73% 0.034 311.6), rgb(175, 162, 184).

Aa

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

About this color

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

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

Values

HEX#AFA2B8
RGBrgb(175, 162, 184)
HSLhsl(275, 13%, 68%)
OKLCHoklch(73% 0.034 311.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 #AFA2B8 2.41:1 Fails Lc -52.6 Large or bold text, headings
Black text on #AFA2B8 8.68:1 AAA Lc 56.4 Large or bold text, headings
#AFA2B8 text on white 2.41:1 Fails Lc 47.6 Large or bold text, headings
#AFA2B8 text on black 8.68: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

    #C5BDCB

    oklch(80.9% 0.021 311)

  5. Step 400

    400 (this color)

    #AFA2B8

    oklch(73% 0.034 311.6)

  6. Step 500

    500

    #92829D

    oklch(63% 0.044 311.5)

  7. Step 600

    600

    #7D6C88

    oklch(55.7% 0.047 312)

  8. Step 700

    700

    #695A73

    oklch(49.1% 0.043 311.7)

  9. Step 800

    800

    #56495E

    oklch(42.7% 0.038 312.5)

  10. Step 900

    900

    #473D4D

    oklch(37.7% 0.03 312.8)

  11. Step 950

    950

    #29242D

    oklch(27% 0.018 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2B8 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)#9FA6B90.024
Deuteranopia (no green cones)#A2A7B70.022
Tritanopia (no blue cones)#AEA4A90.025
Achromatopsia (no color)#A7A7A70.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2B8

    #AFA2B8

    oklch(73% 0.034 311.6)

  • #A0AD96

    #A0AD96

    oklch(73.1% 0.036 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2B8

    #AFA2B8

    oklch(73% 0.034 311.6)

  • #A4A6BE

    #A4A6BE

    oklch(73.1% 0.035 281.7)

  • #B8A0AE

    #B8A0AE

    oklch(73.1% 0.034 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2B8

    #AFA2B8

    oklch(73% 0.034 311.6)

  • #ACA990

    #ACA990

    oklch(73% 0.035 101.6)

  • #95AFA1

    #95AFA1

    oklch(73% 0.035 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2B8

    #AFA2B8

    oklch(73% 0.034 311.6)

  • #B6A591

    #B6A591

    oklch(73.1% 0.034 71.8)

  • #90AFAD

    #90AFAD

    oklch(73% 0.034 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2B8

    #AFA2B8

    oklch(73% 0.034 311.6)

  • #BCA197

    #BCA197

    oklch(73% 0.035 41.4)

  • #A0AD96

    #A0AD96

    oklch(73.1% 0.036 131.5)

  • #91ADB7

    #91ADB7

    oklch(73% 0.034 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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