#AFA2BB

Closest named color: Dark Gray (#A9A9A9). oklch(73.1% 0.038 308.7), rgb(175, 162, 187).

Aa

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

About this color

#AFA2BB is a medium-light, muted purple. In OKLCH its lightness is 73%, its chroma 0.038 and its hue 309°. 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.70:1.

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

Values

HEX#AFA2BB
RGBrgb(175, 162, 187)
HSLhsl(271, 16%, 68%)
OKLCHoklch(73.1% 0.038 308.7)

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 #AFA2BB 2.41:1 Fails Lc -52.5 Large or bold text, headings
Black text on #AFA2BB 8.70:1 AAA Lc 56.5 Large or bold text, headings
#AFA2BB text on white 2.41:1 Fails Lc 47.5 Large or bold text, headings
#AFA2BB text on black 8.70: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

    #DBD7E0

    oklch(88.5% 0.013 306)

  4. Step 300

    300

    #C5BDCD

    oklch(81% 0.024 308.1)

  5. Step 400

    400 (this color)

    #AFA2BB

    oklch(73.1% 0.038 308.7)

  6. Step 500

    500

    #9282A1

    oklch(63.2% 0.049 308.3)

  7. Step 600

    600

    #7C6B8C

    oklch(55.6% 0.054 308)

  8. Step 700

    700

    #695976

    oklch(49.1% 0.049 309.6)

  9. Step 800

    800

    #554960

    oklch(42.6% 0.04 308.4)

  10. Step 900

    900

    #463D4F

    oklch(37.6% 0.032 307.5)

  11. Step 950

    950

    #29242E

    oklch(27% 0.02 307.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2BB 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)#9EA6BC0.025
Deuteranopia (no green cones)#A1A7BA0.023
Tritanopia (no blue cones)#AEA5AA0.029
Achromatopsia (no color)#A7A7A70.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2BB

    #AFA2BB

    oklch(73.1% 0.038 308.7)

  • #A1AD94

    #A1AD94

    oklch(73.1% 0.038 128.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2BB

    #AFA2BB

    oklch(73.1% 0.038 308.7)

  • #A2A6C1

    #A2A6C1

    oklch(73.1% 0.039 278.7)

  • #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°).

  • #AFA2BB

    #AFA2BB

    oklch(73.1% 0.038 308.7)

  • #AEA98E

    #AEA98E

    oklch(73.2% 0.038 98.6)

  • #95B09F

    #95B09F

    oklch(73.2% 0.038 157.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2BB

    #AFA2BB

    oklch(73.1% 0.038 308.7)

  • #B9A48F

    #B9A48F

    oklch(73.1% 0.038 67.2)

  • #8DB0AD

    #8DB0AD

    oklch(73% 0.038 189.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2BB

    #AFA2BB

    oklch(73.1% 0.038 308.7)

  • #BFA097

    #BFA097

    oklch(73.1% 0.039 36.8)

  • #A1AD94

    #A1AD94

    oklch(73.1% 0.038 128.3)

  • #8EAEB9

    #8EAEB9

    oklch(73.1% 0.038 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 #AFA2BB, closest first.

Similar named colors

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

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