#AA40BF

Closest named color: Purply (#983FB2). oklch(56.9% 0.206 320.6), rgb(170, 64, 191).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.206)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.19:1
White text5.00:1

Values

HEX#AA40BF
RGBrgb(170, 64, 191)
HSLhsl(290, 50%, 50%)
OKLCHoklch(56.9% 0.206 320.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 #AA40BF 5.00:1 AA Lc -79.2 Fine for body text
Black text on #AA40BF 4.19:1 AA large text Lc 30.3 Non-text elements, placeholder text
#AA40BF text on white 5.00:1 AA Lc 73.8 Content text, not long reading
#AA40BF text on black 4.19:1 AA large text Lc -27.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

    #F2E4F5

    oklch(93.5% 0.027 320.2)

  3. Step 200

    200

    #E9CFEE

    oklch(88.5% 0.05 320.8)

  4. Step 300

    300

    #DCADE6

    oklch(80.9% 0.094 320.4)

  5. Step 400

    400

    #C980D9

    oklch(70.7% 0.147 320.2)

  6. Step 500

    500

    #BB5BCE

    oklch(63.2% 0.189 320.8)

  7. Step 600

    600 (this color)

    #AA40BF

    oklch(56.9% 0.206 320.6)

  8. Step 700

    700

    #8E2CA1

    oklch(49.1% 0.191 320.6)

  9. Step 800

    800

    #732782

    oklch(42.7% 0.157 320.6)

  10. Step 900

    900

    #5D2669

    oklch(37.7% 0.123 320.1)

  11. Step 950

    950

    #37173D

    oklch(27% 0.078 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#AA40BF 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)#1768C30.206
Deuteranopia (no green cones)#4C73BC0.176
Tritanopia (no blue cones)#AB567A0.127
Achromatopsia (no color)#6F6F6F0.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA40BF

    #AA40BF

    oklch(56.9% 0.206 320.6)

  • #248F00

    #248F00

    oklch(56.8% 0.185 140.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA40BF

    #AA40BF

    oklch(56.9% 0.206 320.6)

  • #7C56E4

    #7C56E4

    oklch(57% 0.205 290.7)

  • #C82D86

    #C82D86

    oklch(56.9% 0.205 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #AA40BF

    #AA40BF

    oklch(56.9% 0.206 320.6)

  • #7B7D00

    #7B7D00

    oklch(56.9% 0.125 110.9)

  • #008C6E

    #008C6E

    oklch(57% 0.112 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA40BF

    #AA40BF

    oklch(56.9% 0.206 320.6)

  • #9A6E00

    #9A6E00

    oklch(56.8% 0.117 80.8)

  • #00888E

    #00888E

    oklch(57% 0.097 200.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA40BF

    #AA40BF

    oklch(56.9% 0.206 320.6)

  • #B95700

    #B95700

    oklch(56.9% 0.149 50.8)

  • #248F00

    #248F00

    oklch(56.8% 0.185 140.6)

  • #0082AD

    #0082AD

    oklch(56.8% 0.114 230.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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