#AA87DF

Closest named color: Pale Purple (#B790D4). oklch(69.1% 0.131 301.4), rgb(170, 135, 223).

Aa

Black text reads best on this color (7.24:1).

About this color

#AA87DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.131 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.039 away. Black text reads best on it, at 7.24:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.24:1
White text2.90:1

Values

HEX#AA87DF
RGBrgb(170, 135, 223)
HSLhsl(264, 58%, 70%)
OKLCHoklch(69.1% 0.131 301.4)

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 #AA87DF 2.90:1 Fails Lc -60.5 Content text, not long reading
Black text on #AA87DF 7.24:1 AAA Lc 48.8 Large or bold text, headings
#AA87DF text on white 2.90:1 Fails Lc 55.2 Large or bold text, headings
#AA87DF text on black 7.24:1 AAA Lc -46.6 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE7F8

    oklch(93.7% 0.023 299.4)

  3. Step 200

    200

    #DED3F3

    oklch(88.6% 0.045 301.1)

  4. Step 300

    300

    #CAB5ED

    oklch(81% 0.081 301.8)

  5. Step 400

    400 (this color)

    #AA87DF

    oklch(69.1% 0.131 301.4)

  6. Step 500

    500

    #9C6DDD

    oklch(63.2% 0.167 301.1)

  7. Step 600

    600

    #8751CA

    oklch(55.5% 0.182 301.3)

  8. Step 700

    700

    #7341AF

    oklch(49.1% 0.169 301.3)

  9. Step 800

    800

    #5E368E

    oklch(42.7% 0.141 301.6)

  10. Step 900

    900

    #4C3071

    oklch(37.6% 0.109 301.2)

  11. Step 950

    950

    #2D1D42

    oklch(27.1% 0.068 302)

Export this scale for Tailwind in the Tailwind colors tool

#AA87DF 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)#7197E20.083
Deuteranopia (no green cones)#7897DD0.077
Tritanopia (no blue cones)#A196A80.102
Achromatopsia (no color)#9898980.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA87DF

    #AA87DF

    oklch(69.1% 0.131 301.4)

  • #8FA843

    #8FA843

    oklch(69.1% 0.131 121.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA87DF

    #AA87DF

    oklch(69.1% 0.131 301.4)

  • #7F96EC

    #7F96EC

    oklch(69.2% 0.129 271.3)

  • #CA7CC0

    #CA7CC0

    oklch(69.1% 0.13 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #AA87DF

    #AA87DF

    oklch(69.1% 0.131 301.4)

  • #B99825

    #B99825

    oklch(69.1% 0.13 91.7)

  • #55B271

    #55B271

    oklch(69% 0.131 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA87DF

    #AA87DF

    oklch(69.1% 0.131 301.4)

  • #D5873C

    #D5873C

    oklch(69.1% 0.131 61.3)

  • #00B4A0

    #00B4A0

    oklch(69% 0.124 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA87DF

    #AA87DF

    oklch(69.1% 0.131 301.4)

  • #E17A68

    #E17A68

    oklch(69.1% 0.131 31.1)

  • #8FA843

    #8FA843

    oklch(69.1% 0.131 121.6)

  • #00AFC6

    #00AFC6

    oklch(69.2% 0.12 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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