#AFA7C0

Closest named color: Dark Gray (#A9A9A9). oklch(74.3% 0.037 300.1), rgb(175, 167, 192).

Aa

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

About this color

#AFA7C0 is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.037 and its hue 300°. 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 9.11:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.037)
Temperaturein between
Nearest nameDark Gray (#A9A9A9)
Black text9.11:1
White text2.30:1

Values

HEX#AFA7C0
RGBrgb(175, 167, 192)
HSLhsl(259, 17%, 70%)
OKLCHoklch(74.3% 0.037 300.1)

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 #AFA7C0 2.30:1 Fails Lc -50.3 Large or bold text, headings
Black text on #AFA7C0 9.11:1 AAA Lc 58.5 Large or bold text, headings
#AFA7C0 text on white 2.30:1 Fails Lc 45.5 Large or bold text, headings
#AFA7C0 text on black 9.11:1 AAA Lc -56.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

    #EAE9EE

    oklch(93.6% 0.007 295.4)

  3. Step 200

    200

    #DAD7E0

    oklch(88.4% 0.013 301.3)

  4. Step 300

    300

    #C3BECE

    oklch(81% 0.023 300.1)

  5. Step 400

    400 (this color)

    #AFA7C0

    oklch(74.3% 0.037 300.1)

  6. Step 500

    500

    #8E83A2

    oklch(63% 0.047 301.2)

  7. Step 600

    600

    #786D8D

    oklch(55.7% 0.05 300.5)

  8. Step 700

    700

    #655B78

    oklch(49.2% 0.047 300.5)

  9. Step 800

    800

    #524A62

    oklch(42.6% 0.04 300)

  10. Step 900

    900

    #443E50

    oklch(37.7% 0.031 300.1)

  11. Step 950

    950

    #28242F

    oklch(26.9% 0.021 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA7C0 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)#A3ABC10.019
Deuteranopia (no green cones)#A4ABBF0.018
Tritanopia (no blue cones)#ACAAAF0.029
Achromatopsia (no color)#ABABAB0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA7C0

    #AFA7C0

    oklch(74.3% 0.037 300.1)

  • #A8B096

    #A8B096

    oklch(74.4% 0.037 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7C0

    #AFA7C0

    oklch(74.3% 0.037 300.1)

  • #A3ABC4

    #A3ABC4

    oklch(74.3% 0.037 271.4)

  • #BAA4B7

    #BAA4B7

    oklch(74.4% 0.037 330.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA7C0

    #AFA7C0

    oklch(74.3% 0.037 300.1)

  • #B5AB92

    #B5AB92

    oklch(74.3% 0.037 88.8)

  • #9CB3A0

    #9CB3A0

    oklch(74.4% 0.037 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7C0

    #AFA7C0

    oklch(74.3% 0.037 300.1)

  • #BEA795

    #BEA795

    oklch(74.4% 0.037 60.2)

  • #94B4AD

    #94B4AD

    oklch(74.4% 0.036 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7C0

    #AFA7C0

    oklch(74.3% 0.037 300.1)

  • #C2A49E

    #C2A49E

    oklch(74.4% 0.037 31.2)

  • #A8B096

    #A8B096

    oklch(74.4% 0.037 121.2)

  • #92B3B9

    #92B3B9

    oklch(74.4% 0.037 209.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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