#AF71BF

Closest named color: Soft Purple (#A66FB5). oklch(64.3% 0.131 319.2), rgb(175, 113, 191).

Aa

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

About this color

#AF71BF is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.131 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.93:1.

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

Values

HEX#AF71BF
RGBrgb(175, 113, 191)
HSLhsl(288, 38%, 60%)
OKLCHoklch(64.3% 0.131 319.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 #AF71BF 3.53:1 AA large text Lc -68.2 Content text, not long reading
Black text on #AF71BF 5.93:1 AA Lc 41.3 Non-text elements, placeholder text
#AF71BF text on white 3.53:1 AA large text Lc 62.8 Content text, not long reading
#AF71BF text on black 5.93:1 AA Lc -38.9 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)

    #AF71BF

    oklch(64.3% 0.131 319.2)

  7. Step 600

    600

    #9654A7

    oklch(55.6% 0.142 319.1)

  8. Step 700

    700

    #80448F

    oklch(49.1% 0.132 319.3)

  9. Step 800

    800

    #683874

    oklch(42.6% 0.11 319.3)

  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

#AF71BF 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)#6684C20.114
Deuteranopia (no green cones)#768ABD0.103
Tritanopia (no blue cones)#B07B8F0.085
Achromatopsia (no color)#8888880.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF71BF

    #AF71BF

    oklch(64.3% 0.131 319.2)

  • #60A04F

    #60A04F

    oklch(64.3% 0.132 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF71BF

    #AF71BF

    oklch(64.3% 0.131 319.2)

  • #8B7ED7

    #8B7ED7

    oklch(64.3% 0.131 288.9)

  • #C76999

    #C76999

    oklch(64.3% 0.132 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF71BF

    #AF71BF

    oklch(64.3% 0.131 319.2)

  • #93931C

    #93931C

    oklch(64.3% 0.132 109.6)

  • #00A580

    #00A580

    oklch(64.2% 0.128 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF71BF

    #AF71BF

    oklch(64.3% 0.131 319.2)

  • #B7820A

    #B7820A

    oklch(64.3% 0.131 79.3)

  • #00A1A6

    #00A1A6

    oklch(64.4% 0.109 198.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF71BF

    #AF71BF

    oklch(64.3% 0.131 319.2)

  • #CB723D

    #CB723D

    oklch(64.2% 0.131 49.5)

  • #60A04F

    #60A04F

    oklch(64.3% 0.132 139.4)

  • #009ACA

    #009ACA

    oklch(64.2% 0.127 229.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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