#AF5DA0

Closest named color: Dark Lilac (#9C6DA5). oklch(59.7% 0.136 334.4), rgb(175, 93, 160).

Aa

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

About this color

#AF5DA0 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.136 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.047 away. Black text reads best on it, at 4.89:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text4.89:1
White text4.28:1

Values

HEX#AF5DA0
RGBrgb(175, 93, 160)
HSLhsl(311, 34%, 53%)
OKLCHoklch(59.7% 0.136 334.4)

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 #AF5DA0 4.28:1 AA large text Lc -74.8 Content text, not long reading
Black text on #AF5DA0 4.89:1 AA Lc 34.8 Non-text elements, placeholder text
#AF5DA0 text on white 4.28:1 AA large text Lc 69.3 Content text, not long reading
#AF5DA0 text on black 4.89:1 AA Lc -32.3 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

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D0E3

    oklch(88.4% 0.037 334.2)

  4. Step 300

    300

    #DCB1D2

    oklch(80.9% 0.066 334.5)

  5. Step 400

    400

    #C987BC

    oklch(70.7% 0.106 334)

  6. Step 500

    500 (this color)

    #AF5DA0

    oklch(59.7% 0.136 334.4)

  7. Step 600

    600

    #A54D96

    oklch(55.6% 0.147 334.3)

  8. Step 700

    700

    #8D3D80

    oklch(49% 0.138 334.1)

  9. Step 800

    800

    #733368

    oklch(42.7% 0.114 334.4)

  10. Step 900

    900

    #5D2D55

    oklch(37.6% 0.09 333.8)

  11. Step 950

    950

    #371B32

    oklch(27.1% 0.057 334)

Export this scale for Tailwind in the Tailwind colors tool

#AF5DA0 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)#5D73A20.137
Deuteranopia (no green cones)#737E9E0.123
Tritanopia (no blue cones)#B661770.069
Achromatopsia (no color)#7A7A7A0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5DA0

    #AF5DA0

    oklch(59.7% 0.136 334.4)

  • #259659

    #259659

    oklch(59.7% 0.136 154.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5DA0

    #AF5DA0

    oklch(59.7% 0.136 334.4)

  • #9268C0

    #9268C0

    oklch(59.7% 0.136 304.6)

  • #C05875

    #C05875

    oklch(59.7% 0.136 4.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF5DA0

    #AF5DA0

    oklch(59.7% 0.136 334.4)

  • #6E8C1F

    #6E8C1F

    oklch(59.6% 0.136 124.3)

  • #009387

    #009387

    oklch(59.6% 0.105 184.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5DA0

    #AF5DA0

    oklch(59.7% 0.136 334.4)

  • #977D00

    #977D00

    oklch(59.7% 0.122 94.3)

  • #008FA6

    #008FA6

    oklch(59.8% 0.105 214.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5DA0

    #AF5DA0

    oklch(59.7% 0.136 334.4)

  • #B56B00

    #B56B00

    oklch(59.7% 0.134 64.5)

  • #259659

    #259659

    oklch(59.7% 0.136 154.4)

  • #2186CA

    #2186CA

    oklch(59.8% 0.136 244.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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