#877DCE

Closest named color: Medium Purple (#9370DB). oklch(63.3% 0.12 288.1), rgb(135, 125, 206).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.85:1
White text3.58:1

Values

HEX#877DCE
RGBrgb(135, 125, 206)
HSLhsl(247, 45%, 65%)
OKLCHoklch(63.3% 0.12 288.1)

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 #877DCE 3.58:1 AA large text Lc -68.9 Content text, not long reading
Black text on #877DCE 5.85:1 AA Lc 40.7 Non-text elements, placeholder text
#877DCE text on white 3.58:1 AA large text Lc 63.4 Content text, not long reading
#877DCE text on black 5.85:1 AA Lc -38.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

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D7D6EE

    oklch(88.4% 0.033 287.6)

  4. Step 300

    300

    #BEBBE5

    oklch(80.8% 0.059 288.3)

  5. Step 400

    400

    #9D97D8

    oklch(70.6% 0.094 288)

  6. Step 500

    500 (this color)

    #877DCE

    oklch(63.3% 0.12 288.1)

  7. Step 600

    600

    #7164BA

    oklch(55.5% 0.13 288.3)

  8. Step 700

    700

    #5F53A1

    oklch(49.2% 0.121 288.2)

  9. Step 800

    800

    #4D4482

    oklch(42.6% 0.1 288)

  10. Step 900

    900

    #403A68

    oklch(37.7% 0.077 288.1)

  11. Step 950

    950

    #25223D

    oklch(26.9% 0.05 287.7)

Export this scale for Tailwind in the Tailwind colors tool

#877DCE 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)#6489D10.052
Deuteranopia (no green cones)#6385CC0.051
Tritanopia (no blue cones)#758C9C0.101
Achromatopsia (no color)#8787870.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #877DCE

    #877DCE

    oklch(63.3% 0.12 288.1)

  • #918F2A

    #918F2A

    oklch(63.3% 0.12 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877DCE

    #877DCE

    oklch(63.3% 0.12 288.1)

  • #5B8BD2

    #5B8BD2

    oklch(63.4% 0.12 258)

  • #A871B9

    #A871B9

    oklch(63.2% 0.121 318)

Open the analogous palette in the generator

Split complementary

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

  • #877DCE

    #877DCE

    oklch(63.3% 0.12 288.1)

  • #B18023

    #B18023

    oklch(63.3% 0.12 78.5)

  • #649B51

    #649B51

    oklch(63.3% 0.12 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877DCE

    #877DCE

    oklch(63.3% 0.12 288.1)

  • #C47245

    #C47245

    oklch(63.4% 0.12 48.3)

  • #21A17C

    #21A17C

    oklch(63.3% 0.12 167.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877DCE

    #877DCE

    oklch(63.3% 0.12 288.1)

  • #C86A6E

    #C86A6E

    oklch(63.3% 0.119 18.4)

  • #918F2A

    #918F2A

    oklch(63.3% 0.12 108.3)

  • #009DA1

    #009DA1

    oklch(63.2% 0.107 198)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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