#AFA2BA

Closest named color: Dark Gray (#A9A9A9). oklch(73.1% 0.037 309.6), rgb(175, 162, 186).

Aa

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

About this color

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

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

Values

HEX#AFA2BA
RGBrgb(175, 162, 186)
HSLhsl(273, 15%, 68%)
OKLCHoklch(73.1% 0.037 309.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 #AFA2BA 2.41:1 Fails Lc -52.5 Large or bold text, headings
Black text on #AFA2BA 8.69:1 AAA Lc 56.4 Large or bold text, headings
#AFA2BA text on white 2.41:1 Fails Lc 47.5 Large or bold text, headings
#AFA2BA text on black 8.69:1 AAA Lc -54.5 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

    #DCD7E0

    oklch(88.6% 0.013 310.5)

  4. Step 300

    300

    #C5BDCC

    oklch(80.9% 0.023 309.5)

  5. Step 400

    400 (this color)

    #AFA2BA

    oklch(73.1% 0.037 309.6)

  6. Step 500

    500

    #92829F

    oklch(63.1% 0.047 309.8)

  7. Step 600

    600

    #7C6B8A

    oklch(55.5% 0.051 309.5)

  8. Step 700

    700

    #695975

    oklch(49% 0.048 310.4)

  9. Step 800

    800

    #564960

    oklch(42.7% 0.041 310.2)

  10. Step 900

    900

    #473D4E

    oklch(37.7% 0.031 311.3)

  11. Step 950

    950

    #29242E

    oklch(27% 0.02 307.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2BA 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)#9FA6BB0.024
Deuteranopia (no green cones)#A1A7B90.023
Tritanopia (no blue cones)#AEA5AA0.027
Achromatopsia (no color)#A7A7A70.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2BA

    #AFA2BA

    oklch(73.1% 0.037 309.6)

  • #A0AD95

    #A0AD95

    oklch(73.1% 0.037 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2BA

    #AFA2BA

    oklch(73.1% 0.037 309.6)

  • #A3A6C0

    #A3A6C0

    oklch(73.1% 0.038 280.2)

  • #B99FB0

    #B99FB0

    oklch(73.1% 0.038 338.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2BA

    #AFA2BA

    oklch(73.1% 0.037 309.6)

  • #ADA98F

    #ADA98F

    oklch(73.1% 0.037 100)

  • #95B0A0

    #95B0A0

    oklch(73.2% 0.038 159.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2BA

    #AFA2BA

    oklch(73.1% 0.037 309.6)

  • #B8A48F

    #B8A48F

    oklch(73% 0.038 68.6)

  • #8EB0AD

    #8EB0AD

    oklch(73.1% 0.037 189.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2BA

    #AFA2BA

    oklch(73.1% 0.037 309.6)

  • #BEA197

    #BEA197

    oklch(73.2% 0.037 39.9)

  • #A0AD95

    #A0AD95

    oklch(73.1% 0.037 130.6)

  • #8FAEB8

    #8FAEB8

    oklch(73.1% 0.037 219.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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