#877CD7

Closest named color: Medium Purple (#9370DB). oklch(63.6% 0.134 287.5), rgb(135, 124, 215).

Aa

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

About this color

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

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

Values

HEX#877CD7
RGBrgb(135, 124, 215)
HSLhsl(247, 53%, 66%)
OKLCHoklch(63.6% 0.134 287.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 #877CD7 3.56:1 AA large text Lc -68.6 Content text, not long reading
Black text on #877CD7 5.89:1 AA Lc 41.0 Non-text elements, placeholder text
#877CD7 text on white 3.56:1 AA large text Lc 63.1 Content text, not long reading
#877CD7 text on black 5.89:1 AA Lc -38.6 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

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D7D6F1

    oklch(88.5% 0.037 287.3)

  4. Step 300

    300

    #BDBBE9

    oklch(80.9% 0.064 286.9)

  5. Step 400

    400

    #9D96DF

    oklch(70.7% 0.106 287.8)

  6. Step 500

    500 (this color)

    #877CD7

    oklch(63.6% 0.134 287.5)

  7. Step 600

    600

    #7062C3

    oklch(55.6% 0.146 287.3)

  8. Step 700

    700

    #5E51A8

    oklch(49.2% 0.134 287.2)

  9. Step 800

    800

    #4D4288

    oklch(42.6% 0.112 287.9)

  10. Step 900

    900

    #40396D

    oklch(37.8% 0.087 287.7)

  11. Step 950

    950

    #252240

    oklch(27.1% 0.055 286.7)

Export this scale for Tailwind in the Tailwind colors tool

#877CD7 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)#5D8ADA0.060
Deuteranopia (no green cones)#5C85D50.058
Tritanopia (no blue cones)#728E9F0.114
Achromatopsia (no color)#8888880.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #877CD7

    #877CD7

    oklch(63.6% 0.134 287.5)

  • #94900C

    #94900C

    oklch(63.6% 0.134 107.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877CD7

    #877CD7

    oklch(63.6% 0.134 287.5)

  • #548BDB

    #548BDB

    oklch(63.5% 0.134 257.8)

  • #AC6FC0

    #AC6FC0

    oklch(63.6% 0.134 317.5)

Open the analogous palette in the generator

Split complementary

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

  • #877CD7

    #877CD7

    oklch(63.6% 0.134 287.5)

  • #B77F00

    #B77F00

    oklch(63.7% 0.133 77.7)

  • #619D48

    #619D48

    oklch(63.5% 0.134 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877CD7

    #877CD7

    oklch(63.6% 0.134 287.5)

  • #CB6E3C

    #CB6E3C

    oklch(63.5% 0.134 47.2)

  • #00A37B

    #00A37B

    oklch(63.5% 0.129 167.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877CD7

    #877CD7

    oklch(63.6% 0.134 287.5)

  • #CF656C

    #CF656C

    oklch(63.5% 0.134 17.6)

  • #94900C

    #94900C

    oklch(63.6% 0.134 107.7)

  • #009EA2

    #009EA2

    oklch(63.5% 0.108 198)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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