#AC40D4

Closest named color: Dark Orchid (#9932CC). oklch(58.5% 0.225 315.3), rgb(172, 64, 212).

Aa

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

About this color

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

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

Values

HEX#AC40D4
RGBrgb(172, 64, 212)
HSLhsl(284, 63%, 54%)
OKLCHoklch(58.5% 0.225 315.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 #AC40D4 4.73:1 AA Lc -77.4 Fine for body text
Black text on #AC40D4 4.43:1 AA large text Lc 32.2 Non-text elements, placeholder text
#AC40D4 text on white 4.73:1 AA Lc 71.9 Content text, not long reading
#AC40D4 text on black 4.43:1 AA large text Lc -29.8 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E8CEF3

    oklch(88.4% 0.057 315.9)

  4. Step 300

    300

    #DAADEE

    oklch(81% 0.102 315.3)

  5. Step 400

    400

    #C67EE5

    oklch(70.7% 0.162 315)

  6. Step 500

    500

    #B757DD

    oklch(63% 0.208 315.2)

  7. Step 600

    600 (this color)

    #AC40D4

    oklch(58.5% 0.225 315.3)

  8. Step 700

    700

    #8B25AF

    oklch(49% 0.21 315.2)

  9. Step 800

    800

    #71228E

    oklch(42.7% 0.174 315.1)

  10. Step 900

    900

    #5C2371

    oklch(37.7% 0.135 315.6)

  11. Step 950

    950

    #361642

    oklch(27% 0.085 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#AC40D4 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)#006DD80.210
Deuteranopia (no green cones)#3C76D10.189
Tritanopia (no blue cones)#A95E860.146
Achromatopsia (no color)#7373730.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC40D4

    #AC40D4

    oklch(58.5% 0.225 315.3)

  • #499000

    #499000

    oklch(58.4% 0.171 135.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC40D4

    #AC40D4

    oklch(58.5% 0.225 315.3)

  • #7659F8

    #7659F8

    oklch(58.4% 0.226 285.4)

  • #D02799

    #D02799

    oklch(58.6% 0.225 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #AC40D4

    #AC40D4

    oklch(58.5% 0.225 315.3)

  • #877F00

    #877F00

    oklch(58.5% 0.124 105.2)

  • #00926A

    #00926A

    oklch(58.5% 0.122 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC40D4

    #AC40D4

    oklch(58.5% 0.225 315.3)

  • #A56F00

    #A56F00

    oklch(58.4% 0.123 75.3)

  • #008E8E

    #008E8E

    oklch(58.6% 0.1 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC40D4

    #AC40D4

    oklch(58.5% 0.225 315.3)

  • #C85300

    #C85300

    oklch(58.6% 0.166 45.4)

  • #499000

    #499000

    oklch(58.4% 0.171 135.2)

  • #0088AD

    #0088AD

    oklch(58.3% 0.111 225.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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