#AF8AB2

Closest named color: Dusty Lavender (#AC86A8). oklch(68.1% 0.071 323.9), rgb(175, 138, 178).

Aa

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

About this color

#AF8AB2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.071 and its hue 324°. 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.10:1.

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

Values

HEX#AF8AB2
RGBrgb(175, 138, 178)
HSLhsl(296, 21%, 62%)
OKLCHoklch(68.1% 0.071 323.9)

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 #AF8AB2 2.95:1 Fails Lc -61.4 Content text, not long reading
Black text on #AF8AB2 7.10:1 AAA Lc 48.0 Large or bold text, headings
#AF8AB2 text on white 2.95:1 Fails Lc 56.1 Large or bold text, headings
#AF8AB2 text on black 7.10:1 AAA Lc -45.7 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

    #E2D4E3

    oklch(88.6% 0.025 323.8)

  4. Step 300

    300

    #CFB7D1

    oklch(80.8% 0.045 323.6)

  5. Step 400

    400 (this color)

    #AF8AB2

    oklch(68.1% 0.071 323.9)

  6. Step 500

    500

    #A576A9

    oklch(63.1% 0.092 323.9)

  7. Step 600

    600

    #905E94

    oklch(55.6% 0.1 324.2)

  8. Step 700

    700

    #7A4E7E

    oklch(49.1% 0.091 323.9)

  9. Step 800

    800

    #634067

    oklch(42.7% 0.076 323.2)

  10. Step 900

    900

    #513654

    oklch(37.6% 0.061 323.2)

  11. Step 950

    950

    #302031

    oklch(27.1% 0.038 324.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF8AB2 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)#8793B40.061
Deuteranopia (no green cones)#8F98B10.058
Tritanopia (no blue cones)#B18E980.044
Achromatopsia (no color)#9696960.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8AB2

    #AF8AB2

    oklch(68.1% 0.071 323.9)

  • #7EA57D

    #7EA57D

    oklch(68.2% 0.072 144.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8AB2

    #AF8AB2

    oklch(68.1% 0.071 323.9)

  • #9B91C1

    #9B91C1

    oklch(68.3% 0.071 294)

  • #BC879C

    #BC879C

    oklch(68.2% 0.07 353.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF8AB2

    #AF8AB2

    oklch(68.1% 0.071 323.9)

  • #989E6A

    #989E6A

    oklch(68.1% 0.072 113.7)

  • #68A795

    #68A795

    oklch(68% 0.071 174)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8AB2

    #AF8AB2

    oklch(68.1% 0.071 323.9)

  • #AE9565

    #AE9565

    oklch(68.1% 0.071 83.2)

  • #60A6AD

    #60A6AD

    oklch(68.2% 0.071 203.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8AB2

    #AF8AB2

    oklch(68.1% 0.071 323.9)

  • #BC8D6F

    #BC8D6F

    oklch(68.1% 0.071 53.7)

  • #7EA57D

    #7EA57D

    oklch(68.2% 0.072 144.1)

  • #6BA0BE

    #6BA0BE

    oklch(68% 0.072 234.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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