#AA21D3

Closest named color: Vibrant Purple (#AD03DE). oklch(55.7% 0.253 316.3), rgb(170, 33, 211).

Aa

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

About this color

#AA21D3 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.253 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.022 away. White text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.253)
Temperaturein between
Nearest nameVibrant Purple (#AD03DE)
Black text3.86:1
White text5.43:1

Values

HEX#AA21D3
RGBrgb(170, 33, 211)
HSLhsl(286, 73%, 48%)
OKLCHoklch(55.7% 0.253 316.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 #AA21D3 5.43:1 AA Lc -80.8 Fine for body text
Black text on #AA21D3 3.86:1 AA large text Lc 28.6 Dividers and decoration only
#AA21D3 text on white 5.43:1 AA Lc 75.4 Fine for body text
#AA21D3 text on black 3.86:1 AA large text Lc -26.3 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

    #FAF3FD

    oklch(97.2% 0.015 316)

  2. Step 100

    100

    #F3E4F9

    oklch(93.7% 0.032 316.4)

  3. Step 200

    200

    #EACDF6

    oklch(88.5% 0.063 316)

  4. Step 300

    300

    #DEAAF2

    oklch(81% 0.113 316.4)

  5. Step 400

    400

    #CC78EB

    oklch(70.7% 0.181 316.3)

  6. Step 500

    500

    #BE4CE5

    oklch(63.1% 0.233 316.2)

  7. Step 600

    600 (this color)

    #AA21D3

    oklch(55.7% 0.253 316.3)

  8. Step 700

    700

    #910AB6

    oklch(49% 0.235 316.3)

  9. Step 800

    800

    #761394

    oklch(42.7% 0.195 316.1)

  10. Step 900

    900

    #5F1B76

    oklch(37.6% 0.152 315.9)

  11. Step 950

    950

    #381245

    oklch(26.9% 0.097 316.3)

Export this scale for Tailwind in the Tailwind colors tool

#AA21D3 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)#0062D70.226
Deuteranopia (no green cones)#1D6DCF0.223
Tritanopia (no blue cones)#A74F7E0.161
Achromatopsia (no color)#6A6A6A0.255

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA21D3

    #AA21D3

    oklch(55.7% 0.253 316.3)

  • #3F8800

    #3F8800

    oklch(55.7% 0.167 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA21D3

    #AA21D3

    oklch(55.7% 0.253 316.3)

  • #7245FC

    #7245FC

    oklch(55.7% 0.252 286.2)

  • #CA008F

    #CA008F

    oklch(55.7% 0.236 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #AA21D3

    #AA21D3

    oklch(55.7% 0.253 316.3)

  • #7D7700

    #7D7700

    oklch(55.7% 0.119 106.2)

  • #008864

    #008864

    oklch(55.6% 0.115 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA21D3

    #AA21D3

    oklch(55.7% 0.253 316.3)

  • #9A6900

    #9A6900

    oklch(55.8% 0.117 76.7)

  • #008486

    #008486

    oklch(55.6% 0.095 196.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA21D3

    #AA21D3

    oklch(55.7% 0.253 316.3)

  • #BA4E00

    #BA4E00

    oklch(55.7% 0.157 46)

  • #3F8800

    #3F8800

    oklch(55.7% 0.167 136.3)

  • #007FA3

    #007FA3

    oklch(55.6% 0.107 226.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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