#AF7DA8

Closest named color: Heather (#A484AC). oklch(65.4% 0.085 331.4), rgb(175, 125, 168).

Aa

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

About this color

#AF7DA8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.085 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.023 away. Black text reads best on it, at 6.32:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.32:1
White text3.32:1

Values

HEX#AF7DA8
RGBrgb(175, 125, 168)
HSLhsl(308, 24%, 59%)
OKLCHoklch(65.4% 0.085 331.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 #AF7DA8 3.32:1 AA large text Lc -66.0 Content text, not long reading
Black text on #AF7DA8 6.32:1 AA Lc 43.5 Non-text elements, placeholder text
#AF7DA8 text on white 3.32:1 AA large text Lc 60.5 Content text, not long reading
#AF7DA8 text on black 6.32:1 AA Lc -41.2 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

    #BA92B4

    oklch(70.8% 0.067 331.4)

  6. Step 500

    500 (this color)

    #AF7DA8

    oklch(65.4% 0.085 331.4)

  7. Step 600

    600

    #935E8C

    oklch(55.6% 0.094 331.6)

  8. Step 700

    700

    #7D4E77

    oklch(49.2% 0.086 331.4)

  9. Step 800

    800

    #664061

    oklch(42.8% 0.072 331.5)

  10. Step 900

    900

    #53364F

    oklch(37.6% 0.057 331.6)

  11. Step 950

    950

    #31202E

    oklch(27% 0.035 332.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF7DA8 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)#7C89AA0.081
Deuteranopia (no green cones)#888FA60.074
Tritanopia (no blue cones)#B3808C0.046
Achromatopsia (no color)#8D8D8D0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7DA8

    #AF7DA8

    oklch(65.4% 0.085 331.4)

  • #689F76

    #689F76

    oklch(65.3% 0.084 151.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7DA8

    #AF7DA8

    oklch(65.4% 0.085 331.4)

  • #9984BC

    #9984BC

    oklch(65.3% 0.085 301.3)

  • #BC7A8D

    #BC7A8D

    oklch(65.4% 0.086 1)

Open the analogous palette in the generator

Split complementary

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

  • #AF7DA8

    #AF7DA8

    oklch(65.4% 0.085 331.4)

  • #88995C

    #88995C

    oklch(65.5% 0.086 121.5)

  • #4DA194

    #4DA194

    oklch(65.3% 0.084 182.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7DA8

    #AF7DA8

    oklch(65.4% 0.085 331.4)

  • #A38F51

    #A38F51

    oklch(65.4% 0.085 92)

  • #489EAE

    #489EAE

    oklch(65.3% 0.085 211.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7DA8

    #AF7DA8

    oklch(65.4% 0.085 331.4)

  • #B68459

    #B68459

    oklch(65.3% 0.085 61.2)

  • #689F76

    #689F76

    oklch(65.3% 0.084 151.5)

  • #5F97C0

    #5F97C0

    oklch(65.4% 0.085 241.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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