#AC40B4

Closest named color: Purply (#983FB2). oklch(56.5% 0.197 324.9), rgb(172, 64, 180).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.197)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.14:1
White text5.06:1

Values

HEX#AC40B4
RGBrgb(172, 64, 180)
HSLhsl(296, 48%, 48%)
OKLCHoklch(56.5% 0.197 324.9)

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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACFEB

    oklch(88.5% 0.048 324.9)

  4. Step 300

    300

    #DEADE0

    oklch(80.8% 0.088 325.1)

  5. Step 400

    400

    #CC80D1

    oklch(70.7% 0.141 324.7)

  6. Step 500

    500

    #BE5CC5

    oklch(63.2% 0.181 324.9)

  7. Step 600

    600 (this color)

    #AC40B4

    oklch(56.5% 0.197 324.9)

  8. Step 700

    700

    #912E98

    oklch(49.2% 0.183 325.1)

  9. Step 800

    800

    #76287B

    oklch(42.8% 0.151 325.3)

  10. Step 900

    900

    #5F2663

    oklch(37.6% 0.118 325)

  11. Step 950

    950

    #38173A

    oklch(26.9% 0.075 325.2)

Export this scale for Tailwind in the Tailwind colors tool

#AC40B4 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)#2A66B70.201
Deuteranopia (no green cones)#5573B10.173
Tritanopia (no blue cones)#B051740.115
Achromatopsia (no color)#6E6E6E0.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC40B4

    #AC40B4

    oklch(56.5% 0.197 324.9)

  • #008F24

    #008F24

    oklch(56.5% 0.178 144.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC40B4

    #AC40B4

    oklch(56.5% 0.197 324.9)

  • #8254DB

    #8254DB

    oklch(56.6% 0.197 295)

  • #C7307C

    #C7307C

    oklch(56.6% 0.197 354.9)

Open the analogous palette in the generator

Split complementary

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

  • #AC40B4

    #AC40B4

    oklch(56.5% 0.197 324.9)

  • #747E00

    #747E00

    oklch(56.5% 0.128 115.2)

  • #008A72

    #008A72

    oklch(56.5% 0.107 174.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC40B4

    #AC40B4

    oklch(56.5% 0.197 324.9)

  • #956F00

    #956F00

    oklch(56.4% 0.116 84.7)

  • #008691

    #008691

    oklch(56.6% 0.097 204.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC40B4

    #AC40B4

    oklch(56.5% 0.197 324.9)

  • #B25B00

    #B25B00

    oklch(56.5% 0.14 55.2)

  • #008F24

    #008F24

    oklch(56.5% 0.178 144.9)

  • #0080B2

    #0080B2

    oklch(56.6% 0.12 234.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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