#987AA2

Closest named color: Purpley Grey (#947E94). oklch(62.2% 0.068 317.6), rgb(152, 122, 162).

Aa

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

About this color

#987AA2 is a medium-light, muted purple. In OKLCH its lightness is 62%, its chroma 0.068 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Grey (#947E94), ΔE 0.028 away. Black text reads best on it, at 5.64:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromamuted (0.068)
Temperaturein between
Nearest namePurpley Grey (#947E94)
Black text5.64:1
White text3.72:1

Values

HEX#987AA2
RGBrgb(152, 122, 162)
HSLhsl(285, 18%, 56%)
OKLCHoklch(62.2% 0.068 317.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 #987AA2 3.72:1 AA large text Lc -70.3 Content text, not long reading
Black text on #987AA2 5.64:1 AA Lc 39.3 Non-text elements, placeholder text
#987AA2 text on white 3.72:1 AA large text Lc 64.8 Content text, not long reading
#987AA2 text on black 5.64:1 AA Lc -36.9 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EDE8EE

    oklch(93.7% 0.01 320.5)

  3. Step 200

    200

    #DED5E1

    oklch(88.4% 0.019 317.7)

  4. Step 300

    300

    #CABACF

    oklch(80.9% 0.034 318.1)

  5. Step 400

    400

    #AF97B7

    oklch(70.8% 0.053 317.6)

  6. Step 500

    500 (this color)

    #987AA2

    oklch(62.2% 0.068 317.6)

  7. Step 600

    600

    #856690

    oklch(55.7% 0.073 317.1)

  8. Step 700

    700

    #71547A

    oklch(49% 0.069 318)

  9. Step 800

    800

    #5C4564

    oklch(42.7% 0.058 317.2)

  10. Step 900

    900

    #4B3A51

    oklch(37.6% 0.044 317.1)

  11. Step 950

    950

    #2C2230

    oklch(27% 0.029 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#987AA2 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)#7582A40.054
Deuteranopia (no green cones)#7C85A10.050
Tritanopia (no blue cones)#987E880.045
Achromatopsia (no color)#8484840.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #987AA2

    #987AA2

    oklch(62.2% 0.068 317.6)

  • #739168

    #739168

    oklch(62.2% 0.069 137.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987AA2

    #987AA2

    oklch(62.2% 0.068 317.6)

  • #8481AE

    #8481AE

    oklch(62.3% 0.067 287.3)

  • #A6768E

    #A6768E

    oklch(62.2% 0.068 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #987AA2

    #987AA2

    oklch(62.2% 0.068 317.6)

  • #8B8A59

    #8B8A59

    oklch(62.2% 0.068 107.2)

  • #5C947E

    #5C947E

    oklch(62.1% 0.068 167.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987AA2

    #987AA2

    oklch(62.2% 0.068 317.6)

  • #9E8257

    #9E8257

    oklch(62.3% 0.068 77.7)

  • #519495

    #519495

    oklch(62.3% 0.068 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987AA2

    #987AA2

    oklch(62.2% 0.068 317.6)

  • #A97A63

    #A97A63

    oklch(62.1% 0.068 47.1)

  • #739168

    #739168

    oklch(62.2% 0.069 137.4)

  • #588FA7

    #588FA7

    oklch(62.1% 0.068 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #987AA2 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.