#AF8DA8

Closest named color: Dusty Lavender (#AC86A8). oklch(68.3% 0.055 333.4), rgb(175, 141, 168).

Aa

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

About this color

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

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

Values

HEX#AF8DA8
RGBrgb(175, 141, 168)
HSLhsl(312, 18%, 62%)
OKLCHoklch(68.3% 0.055 333.4)

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 #AF8DA8 2.91:1 Fails Lc -60.9 Content text, not long reading
Black text on #AF8DA8 7.19:1 AAA Lc 48.5 Large or bold text, headings
#AF8DA8 text on white 2.91:1 Fails Lc 55.5 Large or bold text, headings
#AF8DA8 text on black 7.19:1 AAA Lc -46.3 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

    #E1D5DE

    oklch(88.5% 0.018 334.2)

  4. Step 300

    300

    #CFB9CA

    oklch(80.9% 0.034 333.7)

  5. Step 400

    400 (this color)

    #AF8DA8

    oklch(68.3% 0.055 333.4)

  6. Step 500

    500

    #A47A9C

    oklch(63.2% 0.07 333.2)

  7. Step 600

    600

    #8F6286

    oklch(55.6% 0.077 333.9)

  8. Step 700

    700

    #795172

    oklch(49% 0.072 333)

  9. Step 800

    800

    #63435D

    oklch(42.8% 0.059 333.4)

  10. Step 900

    900

    #51384C

    oklch(37.7% 0.047 333.8)

  11. Step 950

    950

    #2F212D

    oklch(27% 0.03 331.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF8DA8 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)#8D94A90.052
Deuteranopia (no green cones)#9499A70.050
Tritanopia (no blue cones)#B28E960.028
Achromatopsia (no color)#9797970.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8DA8

    #AF8DA8

    oklch(68.3% 0.055 333.4)

  • #7FA48A

    #7FA48A

    oklch(68.4% 0.056 154.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8DA8

    #AF8DA8

    oklch(68.3% 0.055 333.4)

  • #A091B6

    #A091B6

    oklch(68.2% 0.056 303.4)

  • #B88B96

    #B88B96

    oklch(68.3% 0.057 2.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF8DA8

    #AF8DA8

    oklch(68.3% 0.055 333.4)

  • #929F7A

    #929F7A

    oklch(68.2% 0.054 123.6)

  • #72A59D

    #72A59D

    oklch(68.4% 0.056 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8DA8

    #AF8DA8

    oklch(68.3% 0.055 333.4)

  • #A59972

    #A59972

    oklch(68.3% 0.056 93)

  • #71A3AE

    #71A3AE

    oklch(68.4% 0.055 212.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8DA8

    #AF8DA8

    oklch(68.3% 0.055 333.4)

  • #B29276

    #B29276

    oklch(68.2% 0.055 62.9)

  • #7FA48A

    #7FA48A

    oklch(68.4% 0.056 154.1)

  • #7C9EB9

    #7C9EB9

    oklch(68.4% 0.055 242.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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