#AC47A1

Closest named color: Purply (#983FB2). oklch(56.3% 0.171 332), rgb(172, 71, 161).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.171)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.17:1
White text5.03:1

Values

HEX#AC47A1
RGBrgb(172, 71, 161)
HSLhsl(307, 42%, 48%)
OKLCHoklch(56.3% 0.171 332)

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 #AC47A1 5.03:1 AA Lc -79.6 Fine for body text
Black text on #AC47A1 4.17:1 AA large text Lc 29.9 Dividers and decoration only
#AC47A1 text on white 5.03:1 AA Lc 74.2 Content text, not long reading
#AC47A1 text on black 4.17:1 AA large text Lc -27.6 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5F1

    oklch(93.6% 0.022 330.3)

  3. Step 200

    200

    #EBCFE6

    oklch(88.5% 0.044 331.9)

  4. Step 300

    300

    #DFAFD7

    oklch(81% 0.077 332)

  5. Step 400

    400

    #CD83C3

    oklch(70.7% 0.123 331.7)

  6. Step 500

    500

    #BF61B3

    oklch(63.2% 0.157 332.2)

  7. Step 600

    600 (this color)

    #AC47A1

    oklch(56.3% 0.171 332)

  8. Step 700

    700

    #913588

    oklch(49% 0.159 331.8)

  9. Step 800

    800

    #762D6E

    oklch(42.6% 0.132 332.1)

  10. Step 900

    900

    #602A59

    oklch(37.8% 0.102 332.5)

  11. Step 950

    950

    #381934

    oklch(26.9% 0.064 332.2)

Export this scale for Tailwind in the Tailwind colors tool

#AC47A1 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)#4366A40.176
Deuteranopia (no green cones)#63749E0.155
Tritanopia (no blue cones)#B34F6D0.090
Achromatopsia (no color)#6F6F6F0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC47A1

    #AC47A1

    oklch(56.3% 0.171 332)

  • #008D47

    #008D47

    oklch(56.4% 0.148 152.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC47A1

    #AC47A1

    oklch(56.3% 0.171 332)

  • #8956C7

    #8956C7

    oklch(56.3% 0.171 302)

  • #C13E6D

    #C13E6D

    oklch(56.4% 0.171 2.4)

Open the analogous palette in the generator

Split complementary

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

  • #AC47A1

    #AC47A1

    oklch(56.3% 0.171 332)

  • #688100

    #688100

    oklch(56.3% 0.137 122.2)

  • #00887A

    #00887A

    oklch(56.2% 0.101 182.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC47A1

    #AC47A1

    oklch(56.3% 0.171 332)

  • #8E7200

    #8E7200

    oklch(56.3% 0.115 91.6)

  • #008497

    #008497

    oklch(56.3% 0.098 212.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC47A1

    #AC47A1

    oklch(56.3% 0.171 332)

  • #AA6100

    #AA6100

    oklch(56.4% 0.13 62.2)

  • #008D47

    #008D47

    oklch(56.4% 0.148 152.1)

  • #007CBC

    #007CBC

    oklch(56.2% 0.134 242.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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