#AC339D

Closest named color: Warm Purple (#952E8F). oklch(54% 0.195 333.4), rgb(172, 51, 157).

Aa

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

About this color

#AC339D is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.195 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.051 away. White text reads best on it, at 5.65:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.195)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.71:1
White text5.65:1

Values

HEX#AC339D
RGBrgb(172, 51, 157)
HSLhsl(307, 54%, 44%)
OKLCHoklch(54% 0.195 333.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 #AC339D 5.65:1 AA Lc -82.5 Fine for body text
Black text on #AC339D 3.71:1 AA large text Lc 26.8 Dividers and decoration only
#AC339D text on white 5.65:1 AA Lc 77.2 Fine for body text
#AC339D text on black 3.71:1 AA large text Lc -24.5 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

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EECEE7

    oklch(88.6% 0.049 333.5)

  4. Step 300

    300

    #E4ACD9

    oklch(81% 0.088 333.4)

  5. Step 400

    400

    #D47DC5

    oklch(70.7% 0.141 333.5)

  6. Step 500

    500

    #C658B6

    oklch(63% 0.179 333.4)

  7. Step 600

    600 (this color)

    #AC339D

    oklch(54% 0.195 333.4)

  8. Step 700

    700

    #982A8B

    oklch(49.1% 0.181 333.2)

  9. Step 800

    800

    #7C2571

    oklch(42.8% 0.15 333.4)

  10. Step 900

    900

    #64245B

    oklch(37.7% 0.117 333.5)

  11. Step 950

    950

    #3B1635

    oklch(27% 0.074 334)

Export this scale for Tailwind in the Tailwind colors tool

#AC339D 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)#2F5CA00.210
Deuteranopia (no green cones)#5A6D9A0.179
Tritanopia (no blue cones)#B43E640.100
Achromatopsia (no color)#6767670.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC339D

    #AC339D

    oklch(54% 0.195 333.4)

  • #008546

    #008546

    oklch(54.1% 0.139 153.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC339D

    #AC339D

    oklch(54% 0.195 333.4)

  • #8746C9

    #8746C9

    oklch(53.9% 0.196 303.2)

  • #C22463

    #C22463

    oklch(54% 0.195 3.3)

Open the analogous palette in the generator

Split complementary

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

  • #AC339D

    #AC339D

    oklch(54% 0.195 333.4)

  • #607A00

    #607A00

    oklch(53.9% 0.133 123.2)

  • #008074

    #008074

    oklch(53.9% 0.096 183.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC339D

    #AC339D

    oklch(54% 0.195 333.4)

  • #846C00

    #846C00

    oklch(53.9% 0.11 93.5)

  • #007C8F

    #007C8F

    oklch(53.9% 0.094 213.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC339D

    #AC339D

    oklch(54% 0.195 333.4)

  • #9F5C00

    #9F5C00

    oklch(54% 0.123 63.5)

  • #008546

    #008546

    oklch(54.1% 0.139 153.2)

  • #0075B4

    #0075B4

    oklch(54% 0.131 243.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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