#877ED9

Closest named color: Medium Purple (#9370DB). oklch(64% 0.134 286.5), rgb(135, 126, 217).

Aa

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

About this color

#877ED9 is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.134 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.038 away. Black text reads best on it, at 6.01:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text6.01:1
White text3.49:1

Values

HEX#877ED9
RGBrgb(135, 126, 217)
HSLhsl(246, 54%, 67%)
OKLCHoklch(64% 0.134 286.5)

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 #877ED9 3.49:1 AA large text Lc -67.8 Content text, not long reading
Black text on #877ED9 6.01:1 AA Lc 41.7 Non-text elements, placeholder text
#877ED9 text on white 3.49:1 AA large text Lc 62.4 Content text, not long reading
#877ED9 text on black 6.01:1 AA Lc -39.3 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D7D6F1

    oklch(88.5% 0.037 287.3)

  4. Step 300

    300

    #BDBBEA

    oklch(81% 0.066 286.8)

  5. Step 400

    400

    #9B97DF

    oklch(70.8% 0.104 285.9)

  6. Step 500

    500 (this color)

    #877ED9

    oklch(64% 0.134 286.5)

  7. Step 600

    600

    #6F62C3

    oklch(55.5% 0.146 286.8)

  8. Step 700

    700

    #5D51A8

    oklch(49.1% 0.135 286.7)

  9. Step 800

    800

    #4C4388

    oklch(42.7% 0.111 286.7)

  10. Step 900

    900

    #3F396D

    oklch(37.7% 0.087 286.7)

  11. Step 950

    950

    #252240

    oklch(27.1% 0.055 286.7)

Export this scale for Tailwind in the Tailwind colors tool

#877ED9 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)#5F8CDC0.058
Deuteranopia (no green cones)#5D87D70.057
Tritanopia (no blue cones)#7190A10.114
Achromatopsia (no color)#8989890.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #877ED9

    #877ED9

    oklch(64% 0.134 286.5)

  • #97910E

    #97910E

    oklch(64.1% 0.134 106.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877ED9

    #877ED9

    oklch(64% 0.134 286.5)

  • #538DDC

    #538DDC

    oklch(64% 0.134 256.6)

  • #AC71C2

    #AC71C2

    oklch(64.1% 0.133 316.4)

Open the analogous palette in the generator

Split complementary

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

  • #877ED9

    #877ED9

    oklch(64% 0.134 286.5)

  • #BA7F02

    #BA7F02

    oklch(64% 0.134 76.1)

  • #649E48

    #649E48

    oklch(63.9% 0.133 136.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877ED9

    #877ED9

    oklch(64% 0.134 286.5)

  • #CD6F3F

    #CD6F3F

    oklch(64% 0.134 46.2)

  • #00A57A

    #00A57A

    oklch(64% 0.132 166.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877ED9

    #877ED9

    oklch(64% 0.134 286.5)

  • #D1676F

    #D1676F

    oklch(64.1% 0.134 16.9)

  • #97910E

    #97910E

    oklch(64.1% 0.134 106.6)

  • #00A0A2

    #00A0A2

    oklch(64% 0.109 196.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #877ED9 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.