#AC40BC

Closest named color: Purply (#983FB2). oklch(57% 0.204 322.3), rgb(172, 64, 188).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.204)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.21:1
White text4.98:1

Values

HEX#AC40BC
RGBrgb(172, 64, 188)
HSLhsl(292, 49%, 49%)
OKLCHoklch(57% 0.204 322.3)

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 #AC40BC 4.98:1 AA Lc -79.1 Fine for body text
Black text on #AC40BC 4.21:1 AA large text Lc 30.4 Non-text elements, placeholder text
#AC40BC text on white 4.98:1 AA Lc 73.6 Content text, not long reading
#AC40BC text on black 4.21:1 AA large text Lc -28.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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EACFED

    oklch(88.6% 0.05 322.8)

  4. Step 300

    300

    #DDADE4

    oklch(80.9% 0.092 322.1)

  5. Step 400

    400

    #CB7FD6

    oklch(70.7% 0.147 322.3)

  6. Step 500

    500

    #BC5BCB

    oklch(63.1% 0.187 322.1)

  7. Step 600

    600 (this color)

    #AC40BC

    oklch(57% 0.204 322.3)

  8. Step 700

    700

    #8F2C9E

    oklch(49% 0.189 322.1)

  9. Step 800

    800

    #752680

    oklch(42.7% 0.158 322.6)

  10. Step 900

    900

    #5E2567

    oklch(37.6% 0.123 322)

  11. Step 950

    950

    #37173C

    oklch(26.9% 0.077 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#AC40BC 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)#1F68C00.206
Deuteranopia (no green cones)#5074B90.177
Tritanopia (no blue cones)#AE54790.122
Achromatopsia (no color)#7070700.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC40BC

    #AC40BC

    oklch(57% 0.204 322.3)

  • #079100

    #079100

    oklch(57% 0.193 142.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC40BC

    #AC40BC

    oklch(57% 0.204 322.3)

  • #7F55E2

    #7F55E2

    oklch(57% 0.204 292.4)

  • #C92E83

    #C92E83

    oklch(57% 0.203 352.3)

Open the analogous palette in the generator

Split complementary

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

  • #AC40BC

    #AC40BC

    oklch(57% 0.204 322.3)

  • #797E00

    #797E00

    oklch(57% 0.127 112.5)

  • #008C70

    #008C70

    oklch(57% 0.11 172.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC40BC

    #AC40BC

    oklch(57% 0.204 322.3)

  • #996F00

    #996F00

    oklch(56.9% 0.117 82.2)

  • #008890

    #008890

    oklch(57.1% 0.097 202.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC40BC

    #AC40BC

    oklch(57% 0.204 322.3)

  • #B85900

    #B85900

    oklch(57% 0.146 52.1)

  • #079100

    #079100

    oklch(57% 0.193 142.3)

  • #0082B0

    #0082B0

    oklch(57% 0.117 232.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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