#AF73BF

Closest named color: Soft Purple (#A66FB5). oklch(64.6% 0.128 319), rgb(175, 115, 191).

Aa

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

About this color

#AF73BF is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.128 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.023 away. Black text reads best on it, at 6.02:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text6.02:1
White text3.48:1

Values

HEX#AF73BF
RGBrgb(175, 115, 191)
HSLhsl(287, 37%, 60%)
OKLCHoklch(64.6% 0.128 319)

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 #AF73BF 3.48:1 AA large text Lc -67.7 Content text, not long reading
Black text on #AF73BF 6.02:1 AA Lc 41.9 Non-text elements, placeholder text
#AF73BF text on white 3.48:1 AA large text Lc 62.2 Content text, not long reading
#AF73BF text on black 6.02:1 AA Lc -39.5 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

    #E3D2E8

    oklch(88.4% 0.035 318.5)

  4. Step 300

    300

    #D3B4DB

    oklch(80.9% 0.064 319.3)

  5. Step 400

    400

    #BC8CC8

    oklch(70.7% 0.1 319.5)

  6. Step 500

    500 (this color)

    #AF73BF

    oklch(64.6% 0.128 319)

  7. Step 600

    600

    #9555A6

    oklch(55.5% 0.139 318.9)

  8. Step 700

    700

    #7F458E

    oklch(49.1% 0.129 319.1)

  9. Step 800

    800

    #673974

    oklch(42.6% 0.107 318.5)

  10. Step 900

    900

    #54325D

    oklch(37.7% 0.082 319)

  11. Step 950

    950

    #311D37

    oklch(26.9% 0.054 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF73BF 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)#6885C20.110
Deuteranopia (no green cones)#788BBD0.099
Tritanopia (no blue cones)#B07C900.082
Achromatopsia (no color)#8989890.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF73BF

    #AF73BF

    oklch(64.6% 0.128 319)

  • #63A052

    #63A052

    oklch(64.5% 0.127 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF73BF

    #AF73BF

    oklch(64.6% 0.128 319)

  • #8C7FD6

    #8C7FD6

    oklch(64.5% 0.128 289.2)

  • #C66B9A

    #C66B9A

    oklch(64.5% 0.128 349)

Open the analogous palette in the generator

Split complementary

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

  • #AF73BF

    #AF73BF

    oklch(64.6% 0.128 319)

  • #959424

    #959424

    oklch(64.7% 0.128 109)

  • #0AA680

    #0AA680

    oklch(64.5% 0.128 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF73BF

    #AF73BF

    oklch(64.6% 0.128 319)

  • #B78318

    #B78318

    oklch(64.5% 0.128 79)

  • #00A2A7

    #00A2A7

    oklch(64.7% 0.11 198.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF73BF

    #AF73BF

    oklch(64.6% 0.128 319)

  • #CB7442

    #CB7442

    oklch(64.6% 0.127 49)

  • #63A052

    #63A052

    oklch(64.5% 0.127 139.1)

  • #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 #AF73BF, closest first.

Similar named colors

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

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