#AA40AC

Closest named color: Purply (#983FB2). oklch(55.8% 0.189 327), rgb(170, 64, 172).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.189)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.03:1
White text5.20:1

Values

HEX#AA40AC
RGBrgb(170, 64, 172)
HSLhsl(299, 46%, 46%)
OKLCHoklch(55.8% 0.189 327)

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 #AA40AC 5.20:1 AA Lc -80.4 Fine for body text
Black text on #AA40AC 4.03:1 AA large text Lc 29.1 Dividers and decoration only
#AA40AC text on white 5.20:1 AA Lc 75.0 Content text, not long reading
#AA40AC text on black 4.03:1 AA large text Lc -26.7 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEA

    oklch(88.6% 0.047 327.1)

  4. Step 300

    300

    #DFAEDE

    oklch(81% 0.085 327)

  5. Step 400

    400

    #CD81CD

    oklch(70.8% 0.136 326.9)

  6. Step 500

    500

    #BE5DBF

    oklch(63% 0.174 327)

  7. Step 600

    600 (this color)

    #AA40AC

    oklch(55.8% 0.189 327)

  8. Step 700

    700

    #913093

    oklch(49.1% 0.176 327)

  9. Step 800

    800

    #762977

    oklch(42.6% 0.146 327.2)

  10. Step 900

    900

    #5F2760

    oklch(37.6% 0.113 326.9)

  11. Step 950

    950

    #381838

    oklch(27% 0.071 327.3)

Export this scale for Tailwind in the Tailwind colors tool

#AA40AC 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)#3164AF0.194
Deuteranopia (no green cones)#5871A90.167
Tritanopia (no blue cones)#AF4E700.107
Achromatopsia (no color)#6D6D6D0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA40AC

    #AA40AC

    oklch(55.8% 0.189 327)

  • #008C31

    #008C31

    oklch(55.8% 0.166 147)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA40AC

    #AA40AC

    oklch(55.8% 0.189 327)

  • #8253D3

    #8253D3

    oklch(55.9% 0.189 296.7)

  • #C33275

    #C33275

    oklch(55.8% 0.189 357.2)

Open the analogous palette in the generator

Split complementary

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

  • #AA40AC

    #AA40AC

    oklch(55.8% 0.189 327)

  • #6F7D00

    #6F7D00

    oklch(55.9% 0.129 117.3)

  • #008773

    #008773

    oklch(55.8% 0.103 177.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA40AC

    #AA40AC

    oklch(55.8% 0.189 327)

  • #916E00

    #916E00

    oklch(55.8% 0.114 86.4)

  • #008390

    #008390

    oklch(55.7% 0.096 207)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA40AC

    #AA40AC

    oklch(55.8% 0.189 327)

  • #AD5B00

    #AD5B00

    oklch(55.8% 0.135 56.9)

  • #008C31

    #008C31

    oklch(55.8% 0.166 147)

  • #007DB2

    #007DB2

    oklch(55.9% 0.122 237)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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