#AF74AB

Closest named color: Soft Purple (#A66FB5). oklch(63.9% 0.105 329.1), rgb(175, 116, 171).

Aa

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

About this color

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

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

Values

HEX#AF74AB
RGBrgb(175, 116, 171)
HSLhsl(304, 27%, 57%)
OKLCHoklch(63.9% 0.105 329.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 #AF74AB 3.55:1 AA large text Lc -68.5 Content text, not long reading
Black text on #AF74AB 5.90:1 AA Lc 41.1 Non-text elements, placeholder text
#AF74AB text on white 3.55:1 AA large text Lc 63.0 Content text, not long reading
#AF74AB text on black 5.90:1 AA Lc -38.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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E4D3E2

    oklch(88.5% 0.027 329.5)

  4. Step 300

    300

    #D4B5D1

    oklch(80.8% 0.052 329.2)

  5. Step 400

    400

    #BE8EBA

    oklch(70.7% 0.083 329.2)

  6. Step 500

    500 (this color)

    #AF74AB

    oklch(63.9% 0.105 329.1)

  7. Step 600

    600

    #975994

    oklch(55.5% 0.114 328.7)

  8. Step 700

    700

    #81497E

    oklch(49.1% 0.106 329)

  9. Step 800

    800

    #693C66

    oklch(42.7% 0.087 329.4)

  10. Step 900

    900

    #553453

    oklch(37.7% 0.067 328.9)

  11. Step 950

    950

    #321E31

    oklch(26.9% 0.045 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF74AB 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)#7183AD0.099
Deuteranopia (no green cones)#808BA90.091
Tritanopia (no blue cones)#B378880.058
Achromatopsia (no color)#8888880.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF74AB

    #AF74AB

    oklch(63.9% 0.105 329.1)

  • #5B9E68

    #5B9E68

    oklch(64% 0.106 149)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF74AB

    #AF74AB

    oklch(63.9% 0.105 329.1)

  • #957DC3

    #957DC3

    oklch(63.9% 0.105 299.2)

  • #BF708A

    #BF708A

    oklch(63.9% 0.104 359.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF74AB

    #AF74AB

    oklch(63.9% 0.105 329.1)

  • #859547

    #859547

    oklch(64% 0.105 119.1)

  • #2CA08D

    #2CA08D

    oklch(63.8% 0.104 179.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF74AB

    #AF74AB

    oklch(63.9% 0.105 329.1)

  • #A58838

    #A58838

    oklch(63.8% 0.104 89.1)

  • #1C9DAE

    #1C9DAE

    oklch(63.9% 0.105 209)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF74AB

    #AF74AB

    oklch(63.9% 0.105 329.1)

  • #BB7B47

    #BB7B47

    oklch(63.9% 0.105 58.4)

  • #5B9E68

    #5B9E68

    oklch(64% 0.106 149)

  • #4894C4

    #4894C4

    oklch(63.9% 0.104 239)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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