#AF72BC

Closest named color: Soft Purple (#A66FB5). oklch(64.3% 0.126 320.4), rgb(175, 114, 188).

Aa

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

About this color

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

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

Values

HEX#AF72BC
RGBrgb(175, 114, 188)
HSLhsl(289, 36%, 59%)
OKLCHoklch(64.3% 0.126 320.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 #AF72BC 3.52:1 AA large text Lc -68.1 Content text, not long reading
Black text on #AF72BC 5.95:1 AA Lc 41.4 Non-text elements, placeholder text
#AF72BC text on white 3.52:1 AA large text Lc 62.7 Content text, not long reading
#AF72BC text on black 5.95:1 AA Lc -39.0 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E4D2E7

    oklch(88.5% 0.034 321.4)

  4. Step 300

    300

    #D3B4DA

    oklch(80.9% 0.062 320)

  5. Step 400

    400

    #BC8CC7

    oklch(70.6% 0.099 320)

  6. Step 500

    500 (this color)

    #AF72BC

    oklch(64.3% 0.126 320.4)

  7. Step 600

    600

    #9655A4

    oklch(55.6% 0.137 320.3)

  8. Step 700

    700

    #80458D

    oklch(49.1% 0.128 320.2)

  9. Step 800

    800

    #683972

    oklch(42.6% 0.106 320.4)

  10. Step 900

    900

    #55325C

    oklch(37.8% 0.082 320.8)

  11. Step 950

    950

    #321D36

    oklch(26.9% 0.053 321)

Export this scale for Tailwind in the Tailwind colors tool

#AF72BC 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)#6884BF0.111
Deuteranopia (no green cones)#788BBA0.101
Tritanopia (no blue cones)#B07B8E0.080
Achromatopsia (no color)#8888880.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF72BC

    #AF72BC

    oklch(64.3% 0.126 320.4)

  • #60A054

    #60A054

    oklch(64.4% 0.127 140.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF72BC

    #AF72BC

    oklch(64.3% 0.126 320.4)

  • #8D7ED4

    #8D7ED4

    oklch(64.3% 0.127 290.4)

  • #C56B97

    #C56B97

    oklch(64.3% 0.125 350.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF72BC

    #AF72BC

    oklch(64.3% 0.126 320.4)

  • #929327

    #929327

    oklch(64.3% 0.126 110)

  • #03A582

    #03A582

    oklch(64.3% 0.126 170.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF72BC

    #AF72BC

    oklch(64.3% 0.126 320.4)

  • #B48319

    #B48319

    oklch(64.2% 0.126 80.5)

  • #00A0A8

    #00A0A8

    oklch(64.2% 0.109 201.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF72BC

    #AF72BC

    oklch(64.3% 0.126 320.4)

  • #C97440

    #C97440

    oklch(64.3% 0.126 50.3)

  • #60A054

    #60A054

    oklch(64.4% 0.127 140.5)

  • #0E9ACB

    #0E9ACB

    oklch(64.3% 0.126 230.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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