#AF72AC

Closest named color: Soft Purple (#A66FB5). oklch(63.6% 0.109 328.5), rgb(175, 114, 172).

Aa

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

About this color

#AF72AC is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.109 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.024 away. Black text reads best on it, at 5.82:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.82:1
White text3.60:1

Values

HEX#AF72AC
RGBrgb(175, 114, 172)
HSLhsl(303, 28%, 57%)
OKLCHoklch(63.6% 0.109 328.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 #AF72AC 3.60:1 AA large text Lc -69.0 Content text, not long reading
Black text on #AF72AC 5.82:1 AA Lc 40.6 Non-text elements, placeholder text
#AF72AC text on white 3.60:1 AA large text Lc 63.5 Content text, not long reading
#AF72AC text on black 5.82:1 AA Lc -38.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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E5D3E3

    oklch(88.6% 0.029 329.3)

  4. Step 300

    300

    #D5B5D2

    oklch(81% 0.053 329.1)

  5. Step 400

    400

    #BE8EBB

    oklch(70.7% 0.084 328.5)

  6. Step 500

    500 (this color)

    #AF72AC

    oklch(63.6% 0.109 328.5)

  7. Step 600

    600

    #985896

    oklch(55.6% 0.119 328.1)

  8. Step 700

    700

    #824880

    oklch(49.2% 0.11 328.3)

  9. Step 800

    800

    #6A3B68

    oklch(42.7% 0.092 328.6)

  10. Step 900

    900

    #563354

    oklch(37.7% 0.071 328.9)

  11. Step 950

    950

    #321E31

    oklch(26.9% 0.045 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF72AC 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)#6F82AE0.103
Deuteranopia (no green cones)#7E8AAA0.095
Tritanopia (no blue cones)#B377870.062
Achromatopsia (no color)#8787870.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF72AC

    #AF72AC

    oklch(63.6% 0.109 328.5)

  • #589D65

    #589D65

    oklch(63.5% 0.109 148.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF72AC

    #AF72AC

    oklch(63.6% 0.109 328.5)

  • #947CC4

    #947CC4

    oklch(63.7% 0.108 298.6)

  • #C06D8A

    #C06D8A

    oklch(63.6% 0.11 358.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF72AC

    #AF72AC

    oklch(63.6% 0.109 328.5)

  • #849441

    #849441

    oklch(63.6% 0.11 118.7)

  • #21A08B

    #21A08B

    oklch(63.5% 0.109 178.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF72AC

    #AF72AC

    oklch(63.6% 0.109 328.5)

  • #A68731

    #A68731

    oklch(63.6% 0.109 88.7)

  • #009DAE

    #009DAE

    oklch(63.7% 0.11 208.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF72AC

    #AF72AC

    oklch(63.6% 0.109 328.5)

  • #BC7942

    #BC7942

    oklch(63.6% 0.11 58.3)

  • #589D65

    #589D65

    oklch(63.5% 0.109 148.7)

  • #4194C6

    #4194C6

    oklch(63.7% 0.11 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 #AF72AC, closest first.

Similar named colors

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

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