#AF5DA5

Closest named color: Soft Purple (#A66FB5). oklch(59.9% 0.14 331.8), rgb(175, 93, 165).

Aa

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

About this color

#AF5DA5 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.140 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.044 away. Black text reads best on it, at 4.93:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.140)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text4.93:1
White text4.25:1

Values

HEX#AF5DA5
RGBrgb(175, 93, 165)
HSLhsl(307, 34%, 53%)
OKLCHoklch(59.9% 0.14 331.8)

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 #AF5DA5 4.25:1 AA large text Lc -74.6 Content text, not long reading
Black text on #AF5DA5 4.93:1 AA Lc 35.0 Non-text elements, placeholder text
#AF5DA5 text on white 4.25:1 AA large text Lc 69.1 Content text, not long reading
#AF5DA5 text on black 4.93:1 AA Lc -32.6 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E9D0E5

    oklch(88.4% 0.039 331.2)

  4. Step 300

    300

    #DCB1D5

    oklch(81% 0.069 331.8)

  5. Step 400

    400

    #C987BF

    oklch(70.8% 0.109 332.2)

  6. Step 500

    500 (this color)

    #AF5DA5

    oklch(59.9% 0.14 331.8)

  7. Step 600

    600

    #A44C9B

    oklch(55.6% 0.152 331.4)

  8. Step 700

    700

    #8D3C84

    oklch(49.1% 0.143 332)

  9. Step 800

    800

    #72326B

    oklch(42.6% 0.118 331.8)

  10. Step 900

    900

    #5D2D57

    oklch(37.7% 0.092 332.1)

  11. Step 950

    950

    #361B33

    oklch(27% 0.057 331.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF5DA5 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)#5A73A70.140
Deuteranopia (no green cones)#717FA30.126
Tritanopia (no blue cones)#B563790.075
Achromatopsia (no color)#7B7B7B0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5DA5

    #AF5DA5

    oklch(59.9% 0.14 331.8)

  • #2A9754

    #2A9754

    oklch(59.9% 0.14 151.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5DA5

    #AF5DA5

    oklch(59.9% 0.14 331.8)

  • #9069C5

    #9069C5

    oklch(59.9% 0.14 301.9)

  • #C1577A

    #C1577A

    oklch(59.9% 0.14 1.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF5DA5

    #AF5DA5

    oklch(59.9% 0.14 331.8)

  • #738C10

    #738C10

    oklch(59.9% 0.14 121.7)

  • #009485

    #009485

    oklch(59.8% 0.107 182.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5DA5

    #AF5DA5

    oklch(59.9% 0.14 331.8)

  • #9A7C00

    #9A7C00

    oklch(59.8% 0.122 91.8)

  • #0090A4

    #0090A4

    oklch(60% 0.104 211.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5DA5

    #AF5DA5

    oklch(59.9% 0.14 331.8)

  • #B96900

    #B96900

    oklch(59.9% 0.138 61.5)

  • #2A9754

    #2A9754

    oklch(59.9% 0.14 151.9)

  • #0688CC

    #0688CC

    oklch(60% 0.141 241.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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