#AF72B4

Closest named color: Soft Purple (#A66FB5). oklch(63.9% 0.118 324.2), rgb(175, 114, 180).

Aa

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

About this color

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

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

Values

HEX#AF72B4
RGBrgb(175, 114, 180)
HSLhsl(295, 31%, 58%)
OKLCHoklch(63.9% 0.118 324.2)

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 #AF72B4 3.56:1 AA large text Lc -68.6 Content text, not long reading
Black text on #AF72B4 5.88:1 AA Lc 41.0 Non-text elements, placeholder text
#AF72B4 text on white 3.56:1 AA large text Lc 63.1 Content text, not long reading
#AF72B4 text on black 5.88:1 AA Lc -38.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 500.

  1. Step 50

    50

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6F0

    oklch(93.6% 0.017 325.7)

  3. Step 200

    200

    #E4D2E5

    oklch(88.4% 0.032 324.3)

  4. Step 300

    300

    #D4B5D6

    oklch(81% 0.057 324.2)

  5. Step 400

    400

    #BD8DC1

    oklch(70.7% 0.091 323.9)

  6. Step 500

    500 (this color)

    #AF72B4

    oklch(63.9% 0.118 324.2)

  7. Step 600

    600

    #97579D

    oklch(55.6% 0.127 324)

  8. Step 700

    700

    #814686

    oklch(49% 0.119 324.3)

  9. Step 800

    800

    #693A6D

    oklch(42.7% 0.099 324.2)

  10. Step 900

    900

    #553258

    oklch(37.6% 0.077 324.1)

  11. Step 950

    950

    #321E34

    oklch(27% 0.048 323.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF72B4 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)#6C83B60.106
Deuteranopia (no green cones)#7B8AB20.097
Tritanopia (no blue cones)#B2798B0.070
Achromatopsia (no color)#8888880.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF72B4

    #AF72B4

    oklch(63.9% 0.118 324.2)

  • #5C9E5D

    #5C9E5D

    oklch(63.8% 0.117 144.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF72B4

    #AF72B4

    oklch(63.9% 0.118 324.2)

  • #907DCC

    #907DCC

    oklch(63.9% 0.117 293.9)

  • #C36C91

    #C36C91

    oklch(64% 0.118 354)

Open the analogous palette in the generator

Split complementary

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

  • #AF72B4

    #AF72B4

    oklch(63.9% 0.118 324.2)

  • #8B9436

    #8B9436

    oklch(64% 0.118 114.4)

  • #15A387

    #15A387

    oklch(64% 0.118 174.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF72B4

    #AF72B4

    oklch(63.9% 0.118 324.2)

  • #AD8526

    #AD8526

    oklch(63.9% 0.118 84.4)

  • #009FAA

    #009FAA

    oklch(64% 0.109 203.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF72B4

    #AF72B4

    oklch(63.9% 0.118 324.2)

  • #C27741

    #C27741

    oklch(63.9% 0.117 54.6)

  • #5C9E5D

    #5C9E5D

    oklch(63.8% 0.117 144.4)

  • #2F97C8

    #2F97C8

    oklch(64% 0.117 233.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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