#AFAFCB

Closest named color: French Gray (#ADB5BD). oklch(76.3% 0.04 285.4), rgb(175, 175, 203).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamuted (0.040)
Temperaturecool
Nearest nameFrench Gray (#ADB5BD)
Black text9.81:1
White text2.13:1

Values

HEX#AFAFCB
RGBrgb(175, 175, 203)
HSLhsl(240, 21%, 74%)
OKLCHoklch(76.3% 0.04 285.4)

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 #AFAFCB 2.13:1 Fails Lc -46.7 Large or bold text, headings
Black text on #AFAFCB 9.81:1 AAA Lc 62.0 Content text, not long reading
#AFAFCB text on white 2.13:1 Fails Lc 42.0 Non-text elements, placeholder text
#AFAFCB text on black 9.81:1 AAA Lc -60.2 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D7D7E8

    oklch(88.4% 0.023 285.9)

  4. Step 300

    300 (this color)

    #AFAFCB

    oklch(76.3% 0.04 285.4)

  5. Step 400

    400

    #9C9BC7

    oklch(70.6% 0.064 285.7)

  6. Step 500

    500

    #8482B9

    oklch(63% 0.082 285.4)

  7. Step 600

    600

    #6E6BA5

    oklch(55.5% 0.089 285.5)

  8. Step 700

    700

    #5C598D

    oklch(49% 0.082 285.6)

  9. Step 800

    800

    #4B4973

    oklch(42.6% 0.069 285.3)

  10. Step 900

    900

    #3F3D5D

    oklch(37.6% 0.054 286.3)

  11. Step 950

    950

    #252436

    oklch(27% 0.033 286.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFCB 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)#A9B2CC0.011
Deuteranopia (no green cones)#A8B0CA0.010
Tritanopia (no blue cones)#A9B3B80.034
Achromatopsia (no color)#B1B1B10.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFCB

    #AFAFCB

    oklch(76.3% 0.04 285.4)

  • #B5B497

    #B5B497

    oklch(76.3% 0.04 105.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFCB

    #AFAFCB

    oklch(76.3% 0.04 285.4)

  • #A2B4CC

    #A2B4CC

    oklch(76.4% 0.04 255.6)

  • #BCABC4

    #BCABC4

    oklch(76.4% 0.04 315.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFCB

    #AFAFCB

    oklch(76.3% 0.04 285.4)

  • #C1AF97

    #C1AF97

    oklch(76.3% 0.039 75)

  • #A7B89F

    #A7B89F

    oklch(76.2% 0.04 135.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFCB

    #AFAFCB

    oklch(76.3% 0.04 285.4)

  • #C9AB9D

    #C9AB9D

    oklch(76.4% 0.04 46.5)

  • #9BBBAC

    #9BBBAC

    oklch(76.4% 0.041 165.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFCB

    #AFAFCB

    oklch(76.3% 0.04 285.4)

  • #CAA8AA

    #CAA8AA

    oklch(76.2% 0.04 14.1)

  • #B5B497

    #B5B497

    oklch(76.3% 0.04 105.7)

  • #95BABA

    #95BABA

    oklch(76.2% 0.04 196.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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