#AF8BAC

Closest named color: Dusty Lavender (#AC86A8). oklch(68.1% 0.063 329), rgb(175, 139, 172).

Aa

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

About this color

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

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

Values

HEX#AF8BAC
RGBrgb(175, 139, 172)
HSLhsl(305, 18%, 62%)
OKLCHoklch(68.1% 0.063 329)

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 #AF8BAC 2.95:1 Fails Lc -61.4 Content text, not long reading
Black text on #AF8BAC 7.11:1 AAA Lc 48.0 Large or bold text, headings
#AF8BAC text on white 2.95:1 Fails Lc 56.0 Large or bold text, headings
#AF8BAC text on black 7.11:1 AAA Lc -45.8 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

    #EEE7EE

    oklch(93.5% 0.012 325.7)

  3. Step 200

    200

    #E2D4E0

    oklch(88.5% 0.022 330.3)

  4. Step 300

    300

    #D0B8CD

    oklch(80.9% 0.039 330)

  5. Step 400

    400 (this color)

    #AF8BAC

    oklch(68.1% 0.063 329)

  6. Step 500

    500

    #A578A2

    oklch(63.2% 0.081 328.7)

  7. Step 600

    600

    #90608D

    oklch(55.6% 0.089 328.9)

  8. Step 700

    700

    #7A4F77

    oklch(49% 0.081 329.2)

  9. Step 800

    800

    #634161

    oklch(42.6% 0.067 328.7)

  10. Step 900

    900

    #51374F

    oklch(37.6% 0.053 329.2)

  11. Step 950

    950

    #30212E

    oklch(27.1% 0.032 331.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF8BAC 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)#8A93AD0.057
Deuteranopia (no green cones)#9298AB0.053
Tritanopia (no blue cones)#B28D960.035
Achromatopsia (no color)#9696960.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8BAC

    #AF8BAC

    oklch(68.1% 0.063 329)

  • #7EA484

    #7EA484

    oklch(68.2% 0.063 149.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8BAC

    #AF8BAC

    oklch(68.1% 0.063 329)

  • #9E90BB

    #9E90BB

    oklch(68.1% 0.064 299.6)

  • #BA8998

    #BA8998

    oklch(68.2% 0.063 358.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF8BAC

    #AF8BAC

    oklch(68.1% 0.063 329)

  • #949F72

    #949F72

    oklch(68.2% 0.064 119.3)

  • #6CA699

    #6CA699

    oklch(68.1% 0.064 178.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8BAC

    #AF8BAC

    oklch(68.1% 0.063 329)

  • #A8976B

    #A8976B

    oklch(68% 0.063 89.3)

  • #69A4AE

    #69A4AE

    oklch(68.2% 0.063 209.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8BAC

    #AF8BAC

    oklch(68.1% 0.063 329)

  • #B79072

    #B79072

    oklch(68.2% 0.063 59)

  • #7EA484

    #7EA484

    oklch(68.2% 0.063 149.2)

  • #749FBC

    #749FBC

    oklch(68.2% 0.063 238.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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