#AD31A9

Closest named color: Purply (#983FB2). oklch(54.6% 0.207 329.4), rgb(173, 49, 169).

Aa

White text reads best on this color (5.54:1).

About this color

#AD31A9 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.207 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.045 away. White text reads best on it, at 5.54:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.207)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.78:1
White text5.54:1

Values

HEX#AD31A9
RGBrgb(173, 49, 169)
HSLhsl(302, 56%, 44%)
OKLCHoklch(54.6% 0.207 329.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 #AD31A9 5.54:1 AA Lc -81.9 Fine for body text
Black text on #AD31A9 3.78:1 AA large text Lc 27.5 Dividers and decoration only
#AD31A9 text on white 5.54:1 AA Lc 76.6 Fine for body text
#AD31A9 text on black 3.78:1 AA large text Lc -25.2 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EDCDEA

    oklch(88.4% 0.052 329)

  4. Step 300

    300

    #E3ABDE

    oklch(80.9% 0.093 329.4)

  5. Step 400

    400

    #D37CCD

    oklch(70.7% 0.149 329.5)

  6. Step 500

    500

    #C556C0

    oklch(63.1% 0.19 329.3)

  7. Step 600

    600 (this color)

    #AD31A9

    oklch(54.6% 0.207 329.4)

  8. Step 700

    700

    #972594

    oklch(49% 0.193 329.2)

  9. Step 800

    800

    #7B2278

    oklch(42.7% 0.159 329.4)

  10. Step 900

    900

    #632261

    oklch(37.6% 0.125 329)

  11. Step 950

    950

    #3A1539

    oklch(26.9% 0.079 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#AD31A9 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)#205EAC0.222
Deuteranopia (no green cones)#546EA60.187
Tritanopia (no blue cones)#B3426A0.113
Achromatopsia (no color)#6868680.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #AD31A9

    #AD31A9

    oklch(54.6% 0.207 329.4)

  • #00873A

    #00873A

    oklch(54.5% 0.152 149.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AD31A9

    #AD31A9

    oklch(54.6% 0.207 329.4)

  • #8447D5

    #8447D5

    oklch(54.6% 0.207 299.1)

  • #C61C6D

    #C61C6D

    oklch(54.6% 0.207 359.3)

Open the analogous palette in the generator

Split complementary

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

  • #AD31A9

    #AD31A9

    oklch(54.6% 0.207 329.4)

  • #687A00

    #687A00

    oklch(54.5% 0.129 119.4)

  • #008372

    #008372

    oklch(54.6% 0.1 179.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AD31A9

    #AD31A9

    oklch(54.6% 0.207 329.4)

  • #8A6C00

    #8A6C00

    oklch(54.5% 0.111 89.4)

  • #007F8E

    #007F8E

    oklch(54.6% 0.094 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AD31A9

    #AD31A9

    oklch(54.6% 0.207 329.4)

  • #A65A00

    #A65A00

    oklch(54.6% 0.129 58.9)

  • #00873A

    #00873A

    oklch(54.5% 0.152 149.4)

  • #0078B0

    #0078B0

    oklch(54.5% 0.124 239.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AD31A9.

Similar named colors

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

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