#AF9EB4

Closest named color: Dark Gray (#A9A9A9). oklch(72.1% 0.037 318.5), rgb(175, 158, 180).

Aa

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

About this color

#AF9EB4 is a medium-light, muted purple. In OKLCH its lightness is 72%, its chroma 0.037 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.039 away. Black text reads best on it, at 8.37:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromamuted (0.037)
Temperaturein between
Nearest nameDark Gray (#A9A9A9)
Black text8.37:1
White text2.50:1

Values

HEX#AF9EB4
RGBrgb(175, 158, 180)
HSLhsl(286, 13%, 66%)
OKLCHoklch(72.1% 0.037 318.5)

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 #AF9EB4 2.50:1 Fails Lc -54.3 Large or bold text, headings
Black text on #AF9EB4 8.37:1 AAA Lc 54.8 Large or bold text, headings
#AF9EB4 text on white 2.50:1 Fails Lc 49.2 Large or bold text, headings
#AF9EB4 text on black 8.37:1 AAA Lc -52.7 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

    #ECE8ED

    oklch(93.6% 0.008 319.4)

  3. Step 200

    200

    #DDD7DF

    oklch(88.6% 0.013 317.7)

  4. Step 300

    300

    #C7BCCA

    oklch(80.8% 0.023 319)

  5. Step 400

    400 (this color)

    #AF9EB4

    oklch(72.1% 0.037 318.5)

  6. Step 500

    500

    #96819C

    oklch(63.1% 0.047 318.7)

  7. Step 600

    600

    #806A87

    oklch(55.6% 0.051 317.9)

  8. Step 700

    700

    #6C5872

    oklch(49% 0.048 318.3)

  9. Step 800

    800

    #58485D

    oklch(42.6% 0.04 318.1)

  10. Step 900

    900

    #493D4C

    oklch(37.8% 0.03 319.5)

  11. Step 950

    950

    #2B242D

    oklch(27.2% 0.019 318.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF9EB4 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)#9CA2B50.028
Deuteranopia (no green cones)#9FA4B30.027
Tritanopia (no blue cones)#AFA0A50.024
Achromatopsia (no color)#A3A3A30.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9EB4

    #AF9EB4

    oklch(72.1% 0.037 318.5)

  • #9AAB95

    #9AAB95

    oklch(72.2% 0.037 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9EB4

    #AF9EB4

    oklch(72.1% 0.037 318.5)

  • #A3A2BB

    #A3A2BB

    oklch(72.1% 0.036 287.3)

  • #B79CA9

    #B79CA9

    oklch(72.1% 0.036 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF9EB4

    #AF9EB4

    oklch(72.1% 0.037 318.5)

  • #A6A78D

    #A6A78D

    oklch(72% 0.036 109.1)

  • #8FADA1

    #8FADA1

    oklch(72.1% 0.037 169.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9EB4

    #AF9EB4

    oklch(72.1% 0.037 318.5)

  • #B2A38C

    #B2A38C

    oklch(72.2% 0.037 78.6)

  • #8BACAD

    #8BACAD

    oklch(72% 0.036 198.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9EB4

    #AF9EB4

    oklch(72.1% 0.037 318.5)

  • #B99F91

    #B99F91

    oklch(72.2% 0.037 50)

  • #9AAB95

    #9AAB95

    oklch(72.2% 0.037 138.6)

  • #8EAAB7

    #8EAAB7

    oklch(72.1% 0.036 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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