#AA40C6

Closest named color: Dark Orchid (#9932CC). oklch(57.3% 0.212 318.5), rgb(170, 64, 198).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.212)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.25:1
White text4.93:1

Values

HEX#AA40C6
RGBrgb(170, 64, 198)
HSLhsl(287, 54%, 51%)
OKLCHoklch(57.3% 0.212 318.5)

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 #AA40C6 4.93:1 AA Lc -78.7 Fine for body text
Black text on #AA40C6 4.25:1 AA large text Lc 30.8 Non-text elements, placeholder text
#AA40C6 text on white 4.93:1 AA Lc 73.3 Content text, not long reading
#AA40C6 text on black 4.25:1 AA large text Lc -28.4 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

    #E8CFF0

    oklch(88.5% 0.052 317.9)

  4. Step 300

    300

    #DBADE8

    oklch(80.8% 0.095 318.7)

  5. Step 400

    400

    #C87FDD

    oklch(70.7% 0.153 318.4)

  6. Step 500

    500

    #B95AD3

    oklch(63.1% 0.195 318.5)

  7. Step 600

    600 (this color)

    #AA40C6

    oklch(57.3% 0.212 318.5)

  8. Step 700

    700

    #8D2AA6

    oklch(49.1% 0.198 318.6)

  9. Step 800

    800

    #722686

    oklch(42.7% 0.162 318.4)

  10. Step 900

    900

    #5D256C

    oklch(37.8% 0.128 318.6)

  11. Step 950

    950

    #36173F

    oklch(27% 0.08 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#AA40C6 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)#0069CA0.211
Deuteranopia (no green cones)#4774C30.180
Tritanopia (no blue cones)#AA597E0.134
Achromatopsia (no color)#7070700.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA40C6

    #AA40C6

    oklch(57.3% 0.212 318.5)

  • #368F00

    #368F00

    oklch(57.3% 0.179 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA40C6

    #AA40C6

    oklch(57.3% 0.212 318.5)

  • #7957EB

    #7957EB

    oklch(57.4% 0.212 288.4)

  • #CA2B8D

    #CA2B8D

    oklch(57.3% 0.212 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #AA40C6

    #AA40C6

    oklch(57.3% 0.212 318.5)

  • #7F7D00

    #7F7D00

    oklch(57.3% 0.124 108.6)

  • #008E6C

    #008E6C

    oklch(57.5% 0.116 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA40C6

    #AA40C6

    oklch(57.3% 0.212 318.5)

  • #9E6E00

    #9E6E00

    oklch(57.3% 0.119 78.4)

  • #00898D

    #00898D

    oklch(57.2% 0.097 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA40C6

    #AA40C6

    oklch(57.3% 0.212 318.5)

  • #BE5500

    #BE5500

    oklch(57.3% 0.155 48.5)

  • #368F00

    #368F00

    oklch(57.3% 0.179 138.4)

  • #0084AC

    #0084AC

    oklch(57.3% 0.112 228.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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