#AFA7C8

Closest named color: French Gray (#ADB5BD). oklch(74.6% 0.048 296.3), rgb(175, 167, 200).

Aa

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

About this color

#AFA7C8 is a medium-light, muted purple. In OKLCH its lightness is 75%, its chroma 0.048 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is French Gray (#ADB5BD), ΔE 0.046 away. Black text reads best on it, at 9.18:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamuted (0.048)
Temperaturein between
Nearest nameFrench Gray (#ADB5BD)
Black text9.18:1
White text2.28:1

Values

HEX#AFA7C8
RGBrgb(175, 167, 200)
HSLhsl(255, 23%, 72%)
OKLCHoklch(74.6% 0.048 296.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 #AFA7C8 2.28:1 Fails Lc -50.0 Large or bold text, headings
Black text on #AFA7C8 9.18:1 AAA Lc 58.9 Large or bold text, headings
#AFA7C8 text on white 2.28:1 Fails Lc 45.1 Large or bold text, headings
#AFA7C8 text on black 9.18:1 AAA Lc -57.0 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #DAD7E3

    oklch(88.5% 0.017 297.5)

  4. Step 300

    300

    #C2BDD2

    oklch(80.9% 0.03 296.6)

  5. Step 400

    400 (this color)

    #AFA7C8

    oklch(74.6% 0.048 296.3)

  6. Step 500

    500

    #8D82AB

    oklch(63.1% 0.062 296.9)

  7. Step 600

    600

    #776B96

    oklch(55.5% 0.067 297)

  8. Step 700

    700

    #645A80

    oklch(49.2% 0.061 296.2)

  9. Step 800

    800

    #514968

    oklch(42.6% 0.051 296)

  10. Step 900

    900

    #433D55

    oklch(37.6% 0.041 295.8)

  11. Step 950

    950

    #272431

    oklch(26.9% 0.024 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA7C8 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)#A0ACCA0.023
Deuteranopia (no green cones)#A1ABC70.022
Tritanopia (no blue cones)#ABACB20.040
Achromatopsia (no color)#ABABAB0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA7C8

    #AFA7C8

    oklch(74.6% 0.048 296.3)

  • #AAB18F

    #AAB18F

    oklch(74.6% 0.048 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7C8

    #AFA7C8

    oklch(74.6% 0.048 296.3)

  • #9FADCC

    #9FADCC

    oklch(74.7% 0.047 266.1)

  • #BDA3BD

    #BDA3BD

    oklch(74.6% 0.047 326)

Open the analogous palette in the generator

Split complementary

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

  • #AFA7C8

    #AFA7C8

    oklch(74.6% 0.048 296.3)

  • #BAAB8B

    #BAAB8B

    oklch(74.6% 0.047 85.8)

  • #9AB59B

    #9AB59B

    oklch(74.5% 0.047 146.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7C8

    #AFA7C8

    oklch(74.6% 0.048 296.3)

  • #C5A690

    #C5A690

    oklch(74.7% 0.048 57.3)

  • #8DB7AC

    #8DB7AC

    oklch(74.6% 0.048 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7C8

    #AFA7C8

    oklch(74.6% 0.048 296.3)

  • #C9A29D

    #C9A29D

    oklch(74.6% 0.047 26.7)

  • #AAB18F

    #AAB18F

    oklch(74.6% 0.048 117)

  • #8AB6BC

    #8AB6BC

    oklch(74.7% 0.048 206.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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