#AF72BF

Closest named color: Soft Purple (#A66FB5). oklch(64.4% 0.129 319.1), rgb(175, 114, 191).

Aa

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

About this color

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

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

Values

HEX#AF72BF
RGBrgb(175, 114, 191)
HSLhsl(288, 38%, 60%)
OKLCHoklch(64.4% 0.129 319.1)

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 #AF72BF 3.51:1 AA large text Lc -68.0 Content text, not long reading
Black text on #AF72BF 5.98:1 AA Lc 41.6 Non-text elements, placeholder text
#AF72BF text on white 3.51:1 AA large text Lc 62.5 Content text, not long reading
#AF72BF text on black 5.98:1 AA Lc -39.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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E4D2E8

    oklch(88.5% 0.035 320.1)

  4. Step 300

    300

    #D3B4DB

    oklch(80.9% 0.064 319.3)

  5. Step 400

    400

    #BC8CC9

    oklch(70.7% 0.102 319)

  6. Step 500

    500 (this color)

    #AF72BF

    oklch(64.4% 0.129 319.1)

  7. Step 600

    600

    #9655A7

    oklch(55.7% 0.14 319)

  8. Step 700

    700

    #80448F

    oklch(49.1% 0.132 319.3)

  9. Step 800

    800

    #683974

    oklch(42.8% 0.108 319.2)

  10. Step 900

    900

    #55315E

    oklch(37.7% 0.086 319.4)

  11. Step 950

    950

    #321D37

    oklch(27% 0.055 319.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF72BF 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)#6785C20.112
Deuteranopia (no green cones)#778BBD0.102
Tritanopia (no blue cones)#B07C8F0.085
Achromatopsia (no color)#8989890.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF72BF

    #AF72BF

    oklch(64.4% 0.129 319.1)

  • #62A050

    #62A050

    oklch(64.4% 0.13 139)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF72BF

    #AF72BF

    oklch(64.4% 0.129 319.1)

  • #8C7FD7

    #8C7FD7

    oklch(64.5% 0.129 289)

  • #C66A9A

    #C66A9A

    oklch(64.4% 0.129 348.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF72BF

    #AF72BF

    oklch(64.4% 0.129 319.1)

  • #949320

    #949320

    oklch(64.4% 0.129 109)

  • #00A680

    #00A680

    oklch(64.5% 0.129 169.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF72BF

    #AF72BF

    oklch(64.4% 0.129 319.1)

  • #B78312

    #B78312

    oklch(64.5% 0.13 79.5)

  • #00A1A7

    #00A1A7

    oklch(64.4% 0.11 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF72BF

    #AF72BF

    oklch(64.4% 0.129 319.1)

  • #CB733F

    #CB733F

    oklch(64.4% 0.129 49.4)

  • #62A050

    #62A050

    oklch(64.4% 0.13 139)

  • #009BCB

    #009BCB

    oklch(64.5% 0.127 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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