#AC51B1

Closest named color: Amethyst (#9B5FC0). oklch(58.4% 0.169 325.5), rgb(172, 81, 177).

Aa

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

About this color

#AC51B1 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.169 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.044 away. White text reads best on it, at 4.59:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.169)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.56:1
White text4.59:1

Values

HEX#AC51B1
RGBrgb(172, 81, 177)
HSLhsl(297, 38%, 51%)
OKLCHoklch(58.4% 0.169 325.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 #AC51B1 4.59:1 AA Lc -76.9 Fine for body text
Black text on #AC51B1 4.56:1 AA Lc 32.7 Non-text elements, placeholder text
#AC51B1 text on white 4.59:1 AA Lc 71.4 Content text, not long reading
#AC51B1 text on black 4.56:1 AA Lc -30.2 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 600.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E8D0E9

    oklch(88.5% 0.043 324.7)

  4. Step 300

    300

    #DBB0DC

    oklch(80.9% 0.077 325.5)

  5. Step 400

    400

    #C785CA

    oklch(70.7% 0.122 325.3)

  6. Step 500

    500

    #B864BC

    oklch(63.1% 0.156 325.5)

  7. Step 600

    600 (this color)

    #AC51B1

    oklch(58.4% 0.169 325.5)

  8. Step 700

    700

    #8B3990

    oklch(49.1% 0.157 325.3)

  9. Step 800

    800

    #713075

    oklch(42.7% 0.13 325.3)

  10. Step 900

    900

    #5C2B5E

    oklch(37.6% 0.102 325.9)

  11. Step 950

    950

    #361A37

    oklch(27% 0.064 325.9)

Export this scale for Tailwind in the Tailwind colors tool

#AC51B1 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)#456EB40.166
Deuteranopia (no green cones)#6279AE0.146
Tritanopia (no blue cones)#B05D790.099
Achromatopsia (no color)#7575750.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC51B1

    #AC51B1

    oklch(58.4% 0.169 325.5)

  • #1D9433

    #1D9433

    oklch(58.4% 0.169 145.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC51B1

    #AC51B1

    oklch(58.4% 0.169 325.5)

  • #8661D3

    #8661D3

    oklch(58.5% 0.169 295.7)

  • #C44680

    #C44680

    oklch(58.4% 0.17 355.2)

Open the analogous palette in the generator

Split complementary

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

  • #AC51B1

    #AC51B1

    oklch(58.4% 0.169 325.5)

  • #798400

    #798400

    oklch(58.4% 0.133 115.5)

  • #009078

    #009078

    oklch(58.3% 0.11 175.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC51B1

    #AC51B1

    oklch(58.4% 0.169 325.5)

  • #9B7500

    #9B7500

    oklch(58.4% 0.12 85.8)

  • #008C98

    #008C98

    oklch(58.4% 0.1 205.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC51B1

    #AC51B1

    oklch(58.4% 0.169 325.5)

  • #BA6000

    #BA6000

    oklch(58.5% 0.144 55.5)

  • #1D9433

    #1D9433

    oklch(58.4% 0.169 145.5)

  • #0085BB

    #0085BB

    oklch(58.3% 0.125 236)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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