#AF87AF

Closest named color: Dusty Lavender (#AC86A8). oklch(67.5% 0.074 326.4), rgb(175, 135, 175).

Aa

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

About this color

#AF87AF is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.074 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.012 away. Black text reads best on it, at 6.90:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameDusty Lavender (#AC86A8)
Black text6.90:1
White text3.04:1

Values

HEX#AF87AF
RGBrgb(175, 135, 175)
HSLhsl(300, 20%, 61%)
OKLCHoklch(67.5% 0.074 326.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 #AF87AF 3.04:1 AA large text Lc -62.5 Content text, not long reading
Black text on #AF87AF 6.90:1 AA Lc 46.9 Large or bold text, headings
#AF87AF text on white 3.04:1 AA large text Lc 57.2 Large or bold text, headings
#AF87AF text on black 6.90:1 AA Lc -44.6 Non-text elements, placeholder text

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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7EF

    oklch(93.7% 0.014 325.7)

  3. Step 200

    200

    #E3D4E2

    oklch(88.6% 0.025 327.8)

  4. Step 300

    300

    #D1B7D1

    oklch(81% 0.046 326)

  5. Step 400

    400 (this color)

    #AF87AF

    oklch(67.5% 0.074 326.4)

  6. Step 500

    500

    #A775A8

    oklch(63.1% 0.094 326)

  7. Step 600

    600

    #925D93

    oklch(55.6% 0.102 326.2)

  8. Step 700

    700

    #7C4C7D

    oklch(49% 0.095 326.2)

  9. Step 800

    800

    #653F66

    oklch(42.7% 0.078 326)

  10. Step 900

    900

    #533653

    oklch(37.8% 0.061 326.7)

  11. Step 950

    950

    #302031

    oklch(27.1% 0.038 324.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF87AF 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)#8491B10.066
Deuteranopia (no green cones)#8D96AE0.062
Tritanopia (no blue cones)#B28A950.042
Achromatopsia (no color)#9494940.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF87AF

    #AF87AF

    oklch(67.5% 0.074 326.4)

  • #79A37C

    #79A37C

    oklch(67.4% 0.073 146.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF87AF

    #AF87AF

    oklch(67.5% 0.074 326.4)

  • #9B8EBF

    #9B8EBF

    oklch(67.6% 0.073 296.6)

  • #BC8498

    #BC8498

    oklch(67.5% 0.073 356.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF87AF

    #AF87AF

    oklch(67.5% 0.074 326.4)

  • #949D68

    #949D68

    oklch(67.5% 0.074 116.3)

  • #62A695

    #62A695

    oklch(67.5% 0.074 176.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF87AF

    #AF87AF

    oklch(67.5% 0.074 326.4)

  • #AB9461

    #AB9461

    oklch(67.5% 0.074 86.2)

  • #5CA4AD

    #5CA4AD

    oklch(67.5% 0.073 206)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF87AF

    #AF87AF

    oklch(67.5% 0.074 326.4)

  • #BA8B6A

    #BA8B6A

    oklch(67.4% 0.074 56.2)

  • #79A37C

    #79A37C

    oklch(67.4% 0.073 146.5)

  • #699EBE

    #699EBE

    oklch(67.4% 0.074 235.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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