#AF7FA9

Closest named color: Dusty Lavender (#AC86A8). oklch(65.8% 0.082 330.8), rgb(175, 127, 169).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameDusty Lavender (#AC86A8)
Black text6.43:1
White text3.26:1

Values

HEX#AF7FA9
RGBrgb(175, 127, 169)
HSLhsl(308, 23%, 59%)
OKLCHoklch(65.8% 0.082 330.8)

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 #AF7FA9 3.26:1 AA large text Lc -65.3 Content text, not long reading
Black text on #AF7FA9 6.43:1 AA Lc 44.2 Non-text elements, placeholder text
#AF7FA9 text on white 3.26:1 AA large text Lc 59.9 Large or bold text, headings
#AF7FA9 text on black 6.43:1 AA Lc -41.8 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 500.

  1. Step 50

    50

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7ED

    oklch(93.6% 0.012 334.1)

  3. Step 200

    200

    #E2D4E0

    oklch(88.5% 0.022 330.3)

  4. Step 300

    300

    #D1B8CD

    oklch(81% 0.04 331.2)

  5. Step 400

    400

    #B992B3

    oklch(70.7% 0.065 331.5)

  6. Step 500

    500 (this color)

    #AF7FA9

    oklch(65.8% 0.082 330.8)

  7. Step 600

    600

    #915F8C

    oklch(55.5% 0.09 330.3)

  8. Step 700

    700

    #7C4F77

    oklch(49.2% 0.083 330.7)

  9. Step 800

    800

    #654160

    oklch(42.8% 0.068 331.7)

  10. Step 900

    900

    #52374F

    oklch(37.7% 0.054 330.5)

  11. Step 950

    950

    #30202E

    oklch(26.9% 0.034 330.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FA9 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)#7E8AAB0.077
Deuteranopia (no green cones)#8991A70.072
Tritanopia (no blue cones)#B3828E0.044
Achromatopsia (no color)#8E8E8E0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FA9

    #AF7FA9

    oklch(65.8% 0.082 330.8)

  • #6BA077

    #6BA077

    oklch(65.7% 0.083 150.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FA9

    #AF7FA9

    oklch(65.8% 0.082 330.8)

  • #9A86BC

    #9A86BC

    oklch(65.8% 0.082 301.2)

  • #BC7C8F

    #BC7C8F

    oklch(65.8% 0.083 0.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FA9

    #AF7FA9

    oklch(65.8% 0.082 330.8)

  • #8A995F

    #8A995F

    oklch(65.7% 0.082 120.5)

  • #51A294

    #51A294

    oklch(65.7% 0.083 180.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FA9

    #AF7FA9

    oklch(65.8% 0.082 330.8)

  • #A49054

    #A49054

    oklch(65.8% 0.083 91.5)

  • #4D9FAE

    #4D9FAE

    oklch(65.7% 0.082 211.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FA9

    #AF7FA9

    oklch(65.8% 0.082 330.8)

  • #B7865C

    #B7865C

    oklch(65.8% 0.083 61.2)

  • #6BA077

    #6BA077

    oklch(65.7% 0.083 150.7)

  • #6198BF

    #6198BF

    oklch(65.7% 0.082 240.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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