#AFA5C0

Closest named color: Dark Gray (#A9A9A9). oklch(73.9% 0.04 302.3), rgb(175, 165, 192).

Aa

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

About this color

#AFA5C0 is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.040 and its hue 302°. 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.96:1.

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

Values

HEX#AFA5C0
RGBrgb(175, 165, 192)
HSLhsl(262, 18%, 70%)
OKLCHoklch(73.9% 0.04 302.3)

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 #AFA5C0 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #AFA5C0 8.96:1 AAA Lc 57.8 Large or bold text, headings
#AFA5C0 text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#AFA5C0 text on black 8.96:1 AAA Lc -55.9 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

    #DBD7E1

    oklch(88.5% 0.014 304.1)

  4. Step 300

    300

    #C3BDCE

    oklch(80.8% 0.024 301.9)

  5. Step 400

    400 (this color)

    #AFA5C0

    oklch(73.9% 0.04 302.3)

  6. Step 500

    500

    #8F82A4

    oklch(63% 0.052 302.4)

  7. Step 600

    600

    #796C8F

    oklch(55.6% 0.055 301.6)

  8. Step 700

    700

    #665A79

    oklch(49.1% 0.051 302.3)

  9. Step 800

    800

    #534A63

    oklch(42.8% 0.042 301.1)

  10. Step 900

    900

    #453E51

    oklch(37.9% 0.033 301.7)

  11. Step 950

    950

    #28242F

    oklch(26.9% 0.021 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA5C0 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)#A0A9C10.022
Deuteranopia (no green cones)#A2A9BF0.021
Tritanopia (no blue cones)#ACA9AE0.032
Achromatopsia (no color)#A9A9A90.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5C0

    #AFA5C0

    oklch(73.9% 0.04 302.3)

  • #A6AF93

    #A6AF93

    oklch(73.9% 0.04 121.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5C0

    #AFA5C0

    oklch(73.9% 0.04 302.3)

  • #A2AAC4

    #A2AAC4

    oklch(74% 0.039 271.9)

  • #BAA2B6

    #BAA2B6

    oklch(73.9% 0.039 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5C0

    #AFA5C0

    oklch(73.9% 0.04 302.3)

  • #B3AA8E

    #B3AA8E

    oklch(73.8% 0.04 92.3)

  • #99B29E

    #99B29E

    oklch(73.9% 0.04 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5C0

    #AFA5C0

    oklch(73.9% 0.04 302.3)

  • #BDA691

    #BDA691

    oklch(74% 0.04 64.6)

  • #90B3AC

    #90B3AC

    oklch(73.9% 0.039 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5C0

    #AFA5C0

    oklch(73.9% 0.04 302.3)

  • #C2A29B

    #C2A29B

    oklch(73.9% 0.039 32.4)

  • #A6AF93

    #A6AF93

    oklch(73.9% 0.04 121.9)

  • #8EB2B9

    #8EB2B9

    oklch(73.9% 0.04 210.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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