#A987F7

Closest named color: Lavender Blue (#8B88F8). oklch(70.2% 0.161 296), rgb(169, 135, 247).

Aa

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

About this color

#A987F7 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.161 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.044 away. Black text reads best on it, at 7.49:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.161)
Temperaturein between
Nearest nameLavender Blue (#8B88F8)
Black text7.49:1
White text2.80:1

Values

HEX#A987F7
RGBrgb(169, 135, 247)
HSLhsl(258, 88%, 75%)
OKLCHoklch(70.2% 0.161 296)

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 #A987F7 2.80:1 Fails Lc -59.0 Large or bold text, headings
Black text on #A987F7 7.49:1 AAA Lc 50.3 Large or bold text, headings
#A987F7 text on white 2.80:1 Fails Lc 53.7 Large or bold text, headings
#A987F7 text on black 7.49:1 AAA Lc -48.1 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DCD2FB

    oklch(88.5% 0.057 296.4)

  4. Step 300

    300

    #C6B3FB

    oklch(80.8% 0.102 296.2)

  5. Step 400

    400 (this color)

    #A987F7

    oklch(70.2% 0.161 296)

  6. Step 500

    500

    #9866F5

    oklch(63.2% 0.205 296.1)

  7. Step 600

    600

    #8447E4

    oklch(55.7% 0.224 296.1)

  8. Step 700

    700

    #7036C6

    oklch(49.1% 0.209 296.2)

  9. Step 800

    800

    #5B2FA0

    oklch(42.8% 0.172 296.1)

  10. Step 900

    900

    #4A2C7F

    oklch(37.8% 0.134 296)

  11. Step 950

    950

    #2B1B4A

    oklch(27% 0.084 296)

Export this scale for Tailwind in the Tailwind colors tool

#A987F7 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)#639BFB0.097
Deuteranopia (no green cones)#6999F40.091
Tritanopia (no blue cones)#989CB30.130
Achromatopsia (no color)#9A9A9A0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #A987F7

    #A987F7

    oklch(70.2% 0.161 296)

  • #9BAA00

    #9BAA00

    oklch(70.2% 0.16 115.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A987F7

    #A987F7

    oklch(70.2% 0.161 296)

  • #719AFF

    #719AFF

    oklch(70.2% 0.155 265.9)

  • #D178D4

    #D178D4

    oklch(70.2% 0.161 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #A987F7

    #A987F7

    oklch(70.2% 0.161 296)

  • #C79700

    #C79700

    oklch(70.2% 0.144 85.8)

  • #51B95D

    #51B95D

    oklch(70.3% 0.162 145.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A987F7

    #A987F7

    oklch(70.2% 0.161 296)

  • #E98020

    #E98020

    oklch(70.3% 0.162 56)

  • #00B99C

    #00B99C

    oklch(70.2% 0.131 176.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A987F7

    #A987F7

    oklch(70.2% 0.161 296)

  • #F37168

    #F37168

    oklch(70.2% 0.162 26.1)

  • #9BAA00

    #9BAA00

    oklch(70.2% 0.16 115.9)

  • #00B4C4

    #00B4C4

    oklch(70.3% 0.12 206)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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