#AFA2BC

Closest named color: Dark Gray (#A9A9A9). oklch(73.2% 0.04 307.9), rgb(175, 162, 188).

Aa

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

About this color

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

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

Values

HEX#AFA2BC
RGBrgb(175, 162, 188)
HSLhsl(270, 16%, 69%)
OKLCHoklch(73.2% 0.04 307.9)

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 #AFA2BC 2.40:1 Fails Lc -52.4 Large or bold text, headings
Black text on #AFA2BC 8.71:1 AAA Lc 56.5 Large or bold text, headings
#AFA2BC text on white 2.40:1 Fails Lc 47.5 Large or bold text, headings
#AFA2BC text on black 8.71:1 AAA Lc -54.6 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

    #EBE9EE

    oklch(93.7% 0.007 304.2)

  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)

    #AFA2BC

    oklch(73.2% 0.04 307.9)

  6. Step 500

    500

    #9282A2

    oklch(63.2% 0.051 307.6)

  7. Step 600

    600

    #7C6B8D

    oklch(55.6% 0.055 307.4)

  8. Step 700

    700

    #695978

    oklch(49.1% 0.052 308)

  9. Step 800

    800

    #554961

    oklch(42.7% 0.042 307.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

#AFA2BC 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)#9EA6BD0.025
Deuteranopia (no green cones)#A0A7BB0.024
Tritanopia (no blue cones)#AEA5AB0.029
Achromatopsia (no color)#A7A7A70.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2BC

    #AFA2BC

    oklch(73.2% 0.04 307.9)

  • #A1AD93

    #A1AD93

    oklch(73.1% 0.039 127.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2BC

    #AFA2BC

    oklch(73.2% 0.04 307.9)

  • #A2A6C2

    #A2A6C2

    oklch(73.1% 0.041 278.9)

  • #BA9FB1

    #BA9FB1

    oklch(73.2% 0.04 338.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2BC

    #AFA2BC

    oklch(73.2% 0.04 307.9)

  • #AFA98D

    #AFA98D

    oklch(73.2% 0.039 97.2)

  • #94B09F

    #94B09F

    oklch(73.1% 0.039 158.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2BC

    #AFA2BC

    oklch(73.2% 0.04 307.9)

  • #B9A48E

    #B9A48E

    oklch(73.1% 0.039 68.5)

  • #8DB1AD

    #8DB1AD

    oklch(73.3% 0.039 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2BC

    #AFA2BC

    oklch(73.2% 0.04 307.9)

  • #BFA097

    #BFA097

    oklch(73.1% 0.039 36.8)

  • #A1AD93

    #A1AD93

    oklch(73.1% 0.039 127.6)

  • #8DAFB9

    #8DAFB9

    oklch(73.2% 0.04 217.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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