#AE31A4

Closest named color: Purply (#983FB2). oklch(54.5% 0.204 331.5), rgb(174, 49, 164).

Aa

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

About this color

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

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

Values

HEX#AE31A4
RGBrgb(174, 49, 164)
HSLhsl(305, 56%, 44%)
OKLCHoklch(54.5% 0.204 331.5)

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 #AE31A4 5.56:1 AA Lc -82.0 Fine for body text
Black text on #AE31A4 3.77:1 AA large text Lc 27.4 Dividers and decoration only
#AE31A4 text on white 5.56:1 AA Lc 76.7 Fine for body text
#AE31A4 text on black 3.77:1 AA large text Lc -25.1 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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EECDE9

    oklch(88.4% 0.052 331)

  4. Step 300

    300

    #E4ABDC

    oklch(80.9% 0.092 331.3)

  5. Step 400

    400

    #D47CCA

    oklch(70.7% 0.147 331.2)

  6. Step 500

    500

    #C756BC

    oklch(63.2% 0.188 331.4)

  7. Step 600

    600 (this color)

    #AE31A4

    oklch(54.5% 0.204 331.5)

  8. Step 700

    700

    #992690

    oklch(49.2% 0.189 331.5)

  9. Step 800

    800

    #7C2275

    oklch(42.7% 0.157 331.3)

  10. Step 900

    900

    #64235E

    oklch(37.7% 0.121 331.5)

  11. Step 950

    950

    #3B1537

    oklch(26.9% 0.078 331.7)

Export this scale for Tailwind in the Tailwind colors tool

#AE31A4 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)#275DA70.219
Deuteranopia (no green cones)#586EA10.185
Tritanopia (no blue cones)#B53F670.108
Achromatopsia (no color)#6868680.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #AE31A4

    #AE31A4

    oklch(54.5% 0.204 331.5)

  • #008741

    #008741

    oklch(54.6% 0.146 151.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AE31A4

    #AE31A4

    oklch(54.5% 0.204 331.5)

  • #8746D0

    #8746D0

    oklch(54.4% 0.203 301.5)

  • #C61E68

    #C61E68

    oklch(54.5% 0.204 1.5)

Open the analogous palette in the generator

Split complementary

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

  • #AE31A4

    #AE31A4

    oklch(54.5% 0.204 331.5)

  • #647B00

    #647B00

    oklch(54.5% 0.132 121.7)

  • #008274

    #008274

    oklch(54.4% 0.098 181.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AE31A4

    #AE31A4

    oklch(54.5% 0.204 331.5)

  • #886D00

    #886D00

    oklch(54.5% 0.112 91.6)

  • #007E90

    #007E90

    oklch(54.4% 0.095 212.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AE31A4

    #AE31A4

    oklch(54.5% 0.204 331.5)

  • #A35C00

    #A35C00

    oklch(54.5% 0.126 61.6)

  • #008741

    #008741

    oklch(54.6% 0.146 151.3)

  • #0077B3

    #0077B3

    oklch(54.5% 0.128 241.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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