#AF72A2

Closest named color: Soft Purple (#A66FB5). oklch(63.2% 0.1 334.7), rgb(175, 114, 162).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.75:1
White text3.65:1

Values

HEX#AF72A2
RGBrgb(175, 114, 162)
HSLhsl(313, 28%, 57%)
OKLCHoklch(63.2% 0.1 334.7)

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 #AF72A2 3.65:1 AA large text Lc -69.4 Content text, not long reading
Black text on #AF72A2 5.75:1 AA Lc 40.1 Non-text elements, placeholder text
#AF72A2 text on white 3.65:1 AA large text Lc 64.0 Content text, not long reading
#AF72A2 text on black 5.75:1 AA Lc -37.7 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

    #F0E6EE

    oklch(93.5% 0.015 332.2)

  3. Step 200

    200

    #E5D3E0

    oklch(88.5% 0.026 335.5)

  4. Step 300

    300

    #D5B5CD

    oklch(80.8% 0.049 334.9)

  5. Step 400

    400

    #C08EB4

    oklch(70.7% 0.079 335.2)

  6. Step 500

    500 (this color)

    #AF72A2

    oklch(63.2% 0.1 334.7)

  7. Step 600

    600

    #9A598D

    oklch(55.6% 0.11 334.7)

  8. Step 700

    700

    #834978

    oklch(49.1% 0.101 334.4)

  9. Step 800

    800

    #6B3C61

    oklch(42.7% 0.084 335.3)

  10. Step 900

    900

    #57344F

    oklch(37.8% 0.065 335.6)

  11. Step 950

    950

    #331F2F

    oklch(27.1% 0.041 334.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF72A2 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)#7280A40.098
Deuteranopia (no green cones)#8189A00.091
Tritanopia (no blue cones)#B575830.051
Achromatopsia (no color)#8686860.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF72A2

    #AF72A2

    oklch(63.2% 0.1 334.7)

  • #549C6E

    #549C6E

    oklch(63.3% 0.101 154.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF72A2

    #AF72A2

    oklch(63.2% 0.1 334.7)

  • #987ABB

    #987ABB

    oklch(63.3% 0.101 304.9)

  • #BC6F82

    #BC6F82

    oklch(63.1% 0.1 4.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF72A2

    #AF72A2

    oklch(63.2% 0.1 334.7)

  • #7C944E

    #7C944E

    oklch(63.1% 0.1 124.7)

  • #2B9D91

    #2B9D91

    oklch(63.1% 0.1 184.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF72A2

    #AF72A2

    oklch(63.2% 0.1 334.7)

  • #9D893B

    #9D893B

    oklch(63.2% 0.101 95)

  • #2B99AF

    #2B99AF

    oklch(63.2% 0.1 214.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF72A2

    #AF72A2

    oklch(63.2% 0.1 334.7)

  • #B37C44

    #B37C44

    oklch(63.1% 0.1 64.7)

  • #549C6E

    #549C6E

    oklch(63.3% 0.101 154.3)

  • #5190C2

    #5190C2

    oklch(63.2% 0.1 244.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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