#AC40C8

Closest named color: Dark Orchid (#9932CC). oklch(57.7% 0.214 318.6), rgb(172, 64, 200).

Aa

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

About this color

#AC40C8 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.214 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.047 away. White text reads best on it, at 4.85:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.214)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.32:1
White text4.85:1

Values

HEX#AC40C8
RGBrgb(172, 64, 200)
HSLhsl(288, 55%, 52%)
OKLCHoklch(57.7% 0.214 318.6)

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 #AC40C8 4.85:1 AA Lc -78.2 Fine for body text
Black text on #AC40C8 4.32:1 AA large text Lc 31.3 Non-text elements, placeholder text
#AC40C8 text on white 4.85:1 AA Lc 72.8 Content text, not long reading
#AC40C8 text on black 4.32:1 AA large text Lc -28.9 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CFF0

    oklch(88.6% 0.053 319)

  4. Step 300

    300

    #DCADE9

    oklch(81% 0.097 318.8)

  5. Step 400

    400

    #C97FDD

    oklch(70.8% 0.153 318.9)

  6. Step 500

    500

    #BA59D4

    oklch(63.1% 0.198 318.7)

  7. Step 600

    600 (this color)

    #AC40C8

    oklch(57.7% 0.214 318.6)

  8. Step 700

    700

    #8D29A7

    oklch(49.1% 0.2 318.3)

  9. Step 800

    800

    #732587

    oklch(42.8% 0.165 318.6)

  10. Step 900

    900

    #5D246C

    oklch(37.6% 0.129 318.7)

  11. Step 950

    950

    #37173F

    oklch(27.1% 0.08 319.2)

Export this scale for Tailwind in the Tailwind colors tool

#AC40C8 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)#006ACC0.213
Deuteranopia (no green cones)#4875C50.182
Tritanopia (no blue cones)#AC597F0.134
Achromatopsia (no color)#7171710.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC40C8

    #AC40C8

    oklch(57.7% 0.214 318.6)

  • #359000

    #359000

    oklch(57.6% 0.18 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC40C8

    #AC40C8

    oklch(57.7% 0.214 318.6)

  • #7A57ED

    #7A57ED

    oklch(57.6% 0.215 288.5)

  • #CC2A8E

    #CC2A8E

    oklch(57.6% 0.215 348.5)

Open the analogous palette in the generator

Split complementary

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

  • #AC40C8

    #AC40C8

    oklch(57.7% 0.214 318.6)

  • #807E00

    #807E00

    oklch(57.6% 0.125 108.6)

  • #008F6D

    #008F6D

    oklch(57.8% 0.116 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC40C8

    #AC40C8

    oklch(57.7% 0.214 318.6)

  • #9F6F00

    #9F6F00

    oklch(57.6% 0.12 78.7)

  • #008B8F

    #008B8F

    oklch(57.8% 0.098 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC40C8

    #AC40C8

    oklch(57.7% 0.214 318.6)

  • #BF5600

    #BF5600

    oklch(57.6% 0.155 48.7)

  • #359000

    #359000

    oklch(57.6% 0.18 138.6)

  • #0085AE

    #0085AE

    oklch(57.6% 0.113 228.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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