#AF8CB7

Closest named color: Dusty Lavender (#AC86A8). oklch(68.7% 0.073 320), rgb(175, 140, 183).

Aa

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

About this color

#AF8CB7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.073 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.024 away. Black text reads best on it, at 7.25:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameDusty Lavender (#AC86A8)
Black text7.25:1
White text2.89:1

Values

HEX#AF8CB7
RGBrgb(175, 140, 183)
HSLhsl(289, 23%, 63%)
OKLCHoklch(68.7% 0.073 320)

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 #AF8CB7 2.89:1 Fails Lc -60.5 Content text, not long reading
Black text on #AF8CB7 7.25:1 AAA Lc 48.9 Large or bold text, headings
#AF8CB7 text on white 2.89:1 Fails Lc 55.2 Large or bold text, headings
#AF8CB7 text on black 7.25:1 AAA Lc -46.6 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7EF

    oklch(93.6% 0.013 321.9)

  3. Step 200

    200

    #E1D4E4

    oklch(88.5% 0.026 319.9)

  4. Step 300

    300

    #CEB8D3

    oklch(81% 0.044 320)

  5. Step 400

    400 (this color)

    #AF8CB7

    oklch(68.7% 0.073 320)

  6. Step 500

    500

    #A377AD

    oklch(63.2% 0.093 320)

  7. Step 600

    600

    #8E5F98

    oklch(55.7% 0.101 320.4)

  8. Step 700

    700

    #784E82

    oklch(49.1% 0.094 319.7)

  9. Step 800

    800

    #62406A

    oklch(42.7% 0.079 319.8)

  10. Step 900

    900

    #503756

    oklch(37.8% 0.061 319.7)

  11. Step 950

    950

    #2F2032

    oklch(27% 0.039 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF8CB7 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)#8895B90.059
Deuteranopia (no green cones)#8F99B60.056
Tritanopia (no blue cones)#B0909B0.047
Achromatopsia (no color)#9898980.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8CB7

    #AF8CB7

    oklch(68.7% 0.073 320)

  • #83A67B

    #83A67B

    oklch(68.7% 0.073 139.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8CB7

    #AF8CB7

    oklch(68.7% 0.073 320)

  • #9993C5

    #9993C5

    oklch(68.7% 0.073 289.8)

  • #BE88A1

    #BE88A1

    oklch(68.7% 0.074 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF8CB7

    #AF8CB7

    oklch(68.7% 0.073 320)

  • #9D9F69

    #9D9F69

    oklch(68.8% 0.074 110)

  • #6AA993

    #6AA993

    oklch(68.6% 0.073 170)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8CB7

    #AF8CB7

    oklch(68.7% 0.073 320)

  • #B29666

    #B29666

    oklch(68.7% 0.073 80.5)

  • #5FA8AC

    #5FA8AC

    oklch(68.6% 0.073 200.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8CB7

    #AF8CB7

    oklch(68.7% 0.073 320)

  • #C08D72

    #C08D72

    oklch(68.6% 0.073 49)

  • #83A67B

    #83A67B

    oklch(68.7% 0.073 139.8)

  • #69A3BF

    #69A3BF

    oklch(68.6% 0.073 230.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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