#AFA8D4

Closest named color: French Gray (#ADB5BD). oklch(75.2% 0.063 292.1), rgb(175, 168, 212).

Aa

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

About this color

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

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

Values

HEX#AFA8D4
RGBrgb(175, 168, 212)
HSLhsl(250, 34%, 75%)
OKLCHoklch(75.2% 0.063 292.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 #AFA8D4 2.24:1 Fails Lc -49.0 Large or bold text, headings
Black text on #AFA8D4 9.37:1 AAA Lc 59.8 Large or bold text, headings
#AFA8D4 text on white 2.24:1 Fails Lc 44.1 Non-text elements, placeholder text
#AFA8D4 text on black 9.37:1 AAA Lc -58.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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE9F1

    oklch(93.7% 0.011 291.9)

  3. Step 200

    200

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  4. Step 300

    300

    #C1BDD9

    oklch(81% 0.039 292.1)

  5. Step 400

    400 (this color)

    #AFA8D4

    oklch(75.2% 0.063 292.1)

  6. Step 500

    500

    #8A81B6

    oklch(63.1% 0.079 291.8)

  7. Step 600

    600

    #746AA2

    oklch(55.6% 0.086 291.5)

  8. Step 700

    700

    #62588B

    oklch(49.2% 0.081 292.2)

  9. Step 800

    800

    #504871

    oklch(42.8% 0.067 292.3)

  10. Step 900

    900

    #423C5B

    oklch(37.6% 0.053 292.6)

  11. Step 950

    950

    #272335

    oklch(26.9% 0.033 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFA8D4 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)#9EAED60.026
Deuteranopia (no green cones)#9FACD30.024
Tritanopia (no blue cones)#A8AFB70.053
Achromatopsia (no color)#ADADAD0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA8D4

    #AFA8D4

    oklch(75.2% 0.063 292.1)

  • #AFB385

    #AFB385

    oklch(75.2% 0.063 111.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA8D4

    #AFA8D4

    oklch(75.2% 0.063 292.1)

  • #99AFD7

    #99AFD7

    oklch(75.1% 0.063 262.3)

  • #C2A2C7

    #C2A2C7

    oklch(75.3% 0.063 321.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA8D4

    #AFA8D4

    oklch(75.2% 0.063 292.1)

  • #C3AB81

    #C3AB81

    oklch(75.2% 0.063 81.4)

  • #98B995

    #98B995

    oklch(75.1% 0.062 142.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA8D4

    #AFA8D4

    oklch(75.2% 0.063 292.1)

  • #D0A48A

    #D0A48A

    oklch(75.2% 0.064 52)

  • #85BCAA

    #85BCAA

    oklch(75.2% 0.063 172.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA8D4

    #AFA8D4

    oklch(75.2% 0.063 292.1)

  • #D49F9D

    #D49F9D

    oklch(75.2% 0.064 21.2)

  • #AFB385

    #AFB385

    oklch(75.2% 0.063 111.9)

  • #7EBBC0

    #7EBBC0

    oklch(75.2% 0.063 202.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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