#AFAFC7

Closest named color: French Gray (#ADB5BD). oklch(76.2% 0.034 285.6), rgb(175, 175, 199).

Aa

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

About this color

#AFAFC7 is a medium-light, muted purple. In OKLCH its lightness is 76%, its chroma 0.034 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is French Gray (#ADB5BD), ΔE 0.025 away. Black text reads best on it, at 9.77:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamuted (0.034)
Temperaturecool
Nearest nameFrench Gray (#ADB5BD)
Black text9.77:1
White text2.14:1

Values

HEX#AFAFC7
RGBrgb(175, 175, 199)
HSLhsl(240, 18%, 73%)
OKLCHoklch(76.2% 0.034 285.6)

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 #AFAFC7 2.14:1 Fails Lc -46.9 Large or bold text, headings
Black text on #AFAFC7 9.77:1 AAA Lc 61.8 Content text, not long reading
#AFAFC7 text on white 2.14:1 Fails Lc 42.2 Non-text elements, placeholder text
#AFAFC7 text on black 9.77:1 AAA Lc -60.0 Content text, not long reading

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 300.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D7D8E5

    oklch(88.5% 0.018 282.5)

  4. Step 300

    300 (this color)

    #AFAFC7

    oklch(76.2% 0.034 285.6)

  5. Step 400

    400

    #9D9CC2

    oklch(70.7% 0.055 286.1)

  6. Step 500

    500

    #8584B2

    oklch(63.1% 0.069 285.3)

  7. Step 600

    600

    #6F6D9E

    oklch(55.6% 0.075 285.5)

  8. Step 700

    700

    #5D5B87

    oklch(49.2% 0.07 285.6)

  9. Step 800

    800

    #4C4A6E

    oklch(42.7% 0.059 286.1)

  10. Step 900

    900

    #3F3E59

    oklch(37.7% 0.046 285.7)

  11. Step 950

    950

    #252434

    oklch(26.9% 0.03 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFC7 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)#AAB2C80.010
Deuteranopia (no green cones)#A9B0C60.009
Tritanopia (no blue cones)#AAB3B70.030
Achromatopsia (no color)#B1B1B10.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFC7

    #AFAFC7

    oklch(76.2% 0.034 285.6)

  • #B4B39B

    #B4B39B

    oklch(76.1% 0.033 105.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFC7

    #AFAFC7

    oklch(76.2% 0.034 285.6)

  • #A4B3C8

    #A4B3C8

    oklch(76.2% 0.034 256.8)

  • #BAABC1

    #BAABC1

    oklch(76.1% 0.035 315.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFC7

    #AFAFC7

    oklch(76.2% 0.034 285.6)

  • #BFAF9A

    #BFAF9A

    oklch(76.2% 0.034 74.7)

  • #A8B7A1

    #A8B7A1

    oklch(76.2% 0.035 135.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFC7

    #AFAFC7

    oklch(76.2% 0.034 285.6)

  • #C5ABA0

    #C5ABA0

    oklch(76.1% 0.034 44.3)

  • #9EB9AC

    #9EB9AC

    oklch(76.2% 0.035 164.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFC7

    #AFAFC7

    oklch(76.2% 0.034 285.6)

  • #C6A9AA

    #C6A9AA

    oklch(76.1% 0.034 15.6)

  • #B4B39B

    #B4B39B

    oklch(76.1% 0.033 105.2)

  • #99B9B8

    #99B9B8

    oklch(76.2% 0.035 194.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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