#AF7EA8

Closest named color: Dusty Lavender (#AC86A8). oklch(65.5% 0.083 331.5), rgb(175, 126, 168).

Aa

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

About this color

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

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

Values

HEX#AF7EA8
RGBrgb(175, 126, 168)
HSLhsl(309, 23%, 59%)
OKLCHoklch(65.5% 0.083 331.5)

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 #AF7EA8 3.29:1 AA large text Lc -65.7 Content text, not long reading
Black text on #AF7EA8 6.37:1 AA Lc 43.8 Non-text elements, placeholder text
#AF7EA8 text on white 3.29:1 AA large text Lc 60.2 Content text, not long reading
#AF7EA8 text on black 6.37:1 AA Lc -41.5 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

    #E3D4E0

    oklch(88.6% 0.023 332.4)

  4. Step 300

    300

    #D1B7CD

    oklch(80.8% 0.042 331)

  5. Step 400

    400

    #B992B3

    oklch(70.7% 0.065 331.5)

  6. Step 500

    500 (this color)

    #AF7EA8

    oklch(65.5% 0.083 331.5)

  7. Step 600

    600

    #925F8B

    oklch(55.6% 0.09 331.7)

  8. Step 700

    700

    #7C4E76

    oklch(49% 0.084 331.5)

  9. Step 800

    800

    #654060

    oklch(42.6% 0.07 331.6)

  10. Step 900

    900

    #53374F

    oklch(37.8% 0.054 331.7)

  11. Step 950

    950

    #30202E

    oklch(26.9% 0.034 330.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EA8 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)#7D89AA0.078
Deuteranopia (no green cones)#8890A60.074
Tritanopia (no blue cones)#B3818D0.044
Achromatopsia (no color)#8E8E8E0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EA8

    #AF7EA8

    oklch(65.5% 0.083 331.5)

  • #69A077

    #69A077

    oklch(65.6% 0.084 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EA8

    #AF7EA8

    oklch(65.5% 0.083 331.5)

  • #9A85BC

    #9A85BC

    oklch(65.6% 0.083 301.7)

  • #BC7B8D

    #BC7B8D

    oklch(65.5% 0.084 1.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EA8

    #AF7EA8

    oklch(65.5% 0.083 331.5)

  • #89995E

    #89995E

    oklch(65.6% 0.084 121.1)

  • #4FA294

    #4FA294

    oklch(65.6% 0.084 181.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EA8

    #AF7EA8

    oklch(65.5% 0.083 331.5)

  • #A38F53

    #A38F53

    oklch(65.4% 0.083 91.5)

  • #4B9FAE

    #4B9FAE

    oklch(65.6% 0.084 210.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EA8

    #AF7EA8

    oklch(65.5% 0.083 331.5)

  • #B6855B

    #B6855B

    oklch(65.5% 0.083 61.2)

  • #69A077

    #69A077

    oklch(65.6% 0.084 151.6)

  • #6197BF

    #6197BF

    oklch(65.5% 0.083 241.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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