#AF8CA9

Closest named color: Dusty Lavender (#AC86A8). oklch(68.2% 0.058 332.1), rgb(175, 140, 169).

Aa

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

About this color

#AF8CA9 is a medium-light, muted purple. In OKLCH its lightness is 68%, its chroma 0.058 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.017 away. Black text reads best on it, at 7.14:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromamuted (0.058)
Temperaturein between
Nearest nameDusty Lavender (#AC86A8)
Black text7.14:1
White text2.93:1

Values

HEX#AF8CA9
RGBrgb(175, 140, 169)
HSLhsl(310, 18%, 62%)
OKLCHoklch(68.2% 0.058 332.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 #AF8CA9 2.93:1 Fails Lc -61.2 Content text, not long reading
Black text on #AF8CA9 7.14:1 AAA Lc 48.2 Large or bold text, headings
#AF8CA9 text on white 2.93:1 Fails Lc 55.8 Large or bold text, headings
#AF8CA9 text on black 7.14:1 AAA Lc -46.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

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EEE7ED

    oklch(93.5% 0.011 330.2)

  3. Step 200

    200

    #E2D4DF

    oklch(88.4% 0.021 332.9)

  4. Step 300

    300

    #CFB8CB

    oklch(80.8% 0.037 331.7)

  5. Step 400

    400 (this color)

    #AF8CA9

    oklch(68.2% 0.058 332.1)

  6. Step 500

    500

    #A5799E

    oklch(63.2% 0.075 332)

  7. Step 600

    600

    #8F6188

    oklch(55.5% 0.081 332.1)

  8. Step 700

    700

    #7A5074

    oklch(49.1% 0.076 331.8)

  9. Step 800

    800

    #63425E

    oklch(42.7% 0.062 332.1)

  10. Step 900

    900

    #51384D

    oklch(37.7% 0.048 332.2)

  11. Step 950

    950

    #2F212D

    oklch(27% 0.03 331.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF8CA9 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)#8B94AA0.055
Deuteranopia (no green cones)#9398A80.051
Tritanopia (no blue cones)#B28E960.031
Achromatopsia (no color)#9797970.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8CA9

    #AF8CA9

    oklch(68.2% 0.058 332.1)

  • #7EA487

    #7EA487

    oklch(68.2% 0.059 151.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8CA9

    #AF8CA9

    oklch(68.2% 0.058 332.1)

  • #9F91B7

    #9F91B7

    oklch(68.2% 0.057 301.7)

  • #B88A96

    #B88A96

    oklch(68.1% 0.058 1.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF8CA9

    #AF8CA9

    oklch(68.2% 0.058 332.1)

  • #929F77

    #929F77

    oklch(68.1% 0.058 122.6)

  • #70A59C

    #70A59C

    oklch(68.2% 0.058 182.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8CA9

    #AF8CA9

    oklch(68.2% 0.058 332.1)

  • #A69870

    #A69870

    oklch(68.2% 0.058 91)

  • #6EA3AE

    #6EA3AE

    oklch(68.2% 0.058 212)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8CA9

    #AF8CA9

    oklch(68.2% 0.058 332.1)

  • #B49174

    #B49174

    oklch(68.2% 0.059 61.2)

  • #7EA487

    #7EA487

    oklch(68.2% 0.059 151.8)

  • #799EBA

    #799EBA

    oklch(68.2% 0.058 241.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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