#AF8DB7

Closest named color: Dusty Lavender (#AC86A8). oklch(68.9% 0.071 319.8), rgb(175, 141, 183).

Aa

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

About this color

#AF8DB7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.071 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.025 away. Black text reads best on it, at 7.31:1.

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

Values

HEX#AF8DB7
RGBrgb(175, 141, 183)
HSLhsl(289, 23%, 64%)
OKLCHoklch(68.9% 0.071 319.8)

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 #AF8DB7 2.87:1 Fails Lc -60.2 Content text, not long reading
Black text on #AF8DB7 7.31:1 AAA Lc 49.2 Large or bold text, headings
#AF8DB7 text on white 2.87:1 Fails Lc 54.9 Large or bold text, headings
#AF8DB7 text on black 7.31:1 AAA Lc -46.9 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)

    #AF8DB7

    oklch(68.9% 0.071 319.8)

  6. Step 500

    500

    #A277AC

    oklch(63.1% 0.092 319.9)

  7. Step 600

    600

    #8D5F98

    oklch(55.6% 0.101 319.7)

  8. Step 700

    700

    #784F81

    oklch(49.2% 0.091 320.2)

  9. Step 800

    800

    #614169

    oklch(42.7% 0.075 319.4)

  10. Step 900

    900

    #503755

    oklch(37.8% 0.059 320.7)

  11. Step 950

    950

    #2F2032

    oklch(27% 0.039 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF8DB7 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)#8996B90.058
Deuteranopia (no green cones)#909AB60.055
Tritanopia (no blue cones)#B0919B0.046
Achromatopsia (no color)#9898980.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8DB7

    #AF8DB7

    oklch(68.9% 0.071 319.8)

  • #84A67C

    #84A67C

    oklch(68.8% 0.071 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8DB7

    #AF8DB7

    oklch(68.9% 0.071 319.8)

  • #9A94C5

    #9A94C5

    oklch(68.9% 0.072 290)

  • #BE89A1

    #BE89A1

    oklch(68.9% 0.072 350.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF8DB7

    #AF8DB7

    oklch(68.9% 0.071 319.8)

  • #9D9F6B

    #9D9F6B

    oklch(68.8% 0.071 110)

  • #6DAA94

    #6DAA94

    oklch(69% 0.072 169.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8DB7

    #AF8DB7

    oklch(68.9% 0.071 319.8)

  • #B39668

    #B39668

    oklch(68.8% 0.071 78.7)

  • #62A9AC

    #62A9AC

    oklch(68.9% 0.072 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8DB7

    #AF8DB7

    oklch(68.9% 0.071 319.8)

  • #C08E73

    #C08E73

    oklch(68.8% 0.072 49.5)

  • #84A67C

    #84A67C

    oklch(68.8% 0.071 139.7)

  • #6BA4BF

    #6BA4BF

    oklch(68.9% 0.072 229.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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