#AF8EA8

Closest named color: Dusty Lavender (#AC86A8). oklch(68.5% 0.054 333.6), rgb(175, 142, 168).

Aa

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

About this color

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

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

Values

HEX#AF8EA8
RGBrgb(175, 142, 168)
HSLhsl(313, 17%, 62%)
OKLCHoklch(68.5% 0.054 333.6)

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

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EEE7EC

    oklch(93.5% 0.01 335.5)

  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)

    #AF8EA8

    oklch(68.5% 0.054 333.6)

  6. Step 500

    500

    #A37A9B

    oklch(63% 0.068 333.3)

  7. Step 600

    600

    #8E6386

    oklch(55.6% 0.074 333.3)

  8. Step 700

    700

    #795271

    oklch(49.2% 0.069 334.2)

  9. Step 800

    800

    #62435C

    oklch(42.7% 0.057 333.6)

  10. Step 900

    900

    #50394C

    oklch(37.8% 0.044 332.6)

  11. Step 950

    950

    #2F212C

    oklch(26.9% 0.029 334.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF8EA8 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)#8E95A90.050
Deuteranopia (no green cones)#9599A70.047
Tritanopia (no blue cones)#B28F970.026
Achromatopsia (no color)#9898980.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8EA8

    #AF8EA8

    oklch(68.5% 0.054 333.6)

  • #81A48B

    #81A48B

    oklch(68.5% 0.053 153.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8EA8

    #AF8EA8

    oklch(68.5% 0.054 333.6)

  • #A192B6

    #A192B6

    oklch(68.5% 0.055 303.9)

  • #B78D96

    #B78D96

    oklch(68.6% 0.052 4.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF8EA8

    #AF8EA8

    oklch(68.5% 0.054 333.6)

  • #93A07B

    #93A07B

    oklch(68.5% 0.054 123.6)

  • #74A59D

    #74A59D

    oklch(68.5% 0.054 183.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8EA8

    #AF8EA8

    oklch(68.5% 0.054 333.6)

  • #A59A74

    #A59A74

    oklch(68.6% 0.054 93.9)

  • #73A3AE

    #73A3AE

    oklch(68.5% 0.054 213.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8EA8

    #AF8EA8

    oklch(68.5% 0.054 333.6)

  • #B29378

    #B29378

    oklch(68.5% 0.053 62.8)

  • #81A48B

    #81A48B

    oklch(68.5% 0.053 153.8)

  • #7E9EB9

    #7E9EB9

    oklch(68.5% 0.054 244.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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