#877ECF

Closest named color: Medium Purple (#9370DB). oklch(63.5% 0.12 287.6), rgb(135, 126, 207).

Aa

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

About this color

#877ECF is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, 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.045 away. Black text reads best on it, at 5.91:1.

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

Values

HEX#877ECF
RGBrgb(135, 126, 207)
HSLhsl(247, 46%, 65%)
OKLCHoklch(63.5% 0.12 287.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 #877ECF 3.54:1 AA large text Lc -68.5 Content text, not long reading
Black text on #877ECF 5.91:1 AA Lc 41.1 Non-text elements, placeholder text
#877ECF text on white 3.54:1 AA large text Lc 63.0 Content text, not long reading
#877ECF text on black 5.91:1 AA Lc -38.7 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

    #9D98D8

    oklch(70.8% 0.093 287.4)

  6. Step 500

    500 (this color)

    #877ECF

    oklch(63.5% 0.12 287.6)

  7. Step 600

    600

    #7065BB

    oklch(55.7% 0.13 287.2)

  8. Step 700

    700

    #5E53A1

    oklch(49.1% 0.121 287.5)

  9. Step 800

    800

    #4D4482

    oklch(42.6% 0.1 288)

  10. Step 900

    900

    #403A69

    oklch(37.8% 0.079 287.9)

  11. Step 950

    950

    #25223D

    oklch(26.9% 0.05 287.7)

Export this scale for Tailwind in the Tailwind colors tool

#877ECF 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)#648AD20.052
Deuteranopia (no green cones)#6486CD0.049
Tritanopia (no blue cones)#758D9D0.100
Achromatopsia (no color)#8888880.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #877ECF

    #877ECF

    oklch(63.5% 0.12 287.6)

  • #938F2A

    #938F2A

    oklch(63.5% 0.12 107.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877ECF

    #877ECF

    oklch(63.5% 0.12 287.6)

  • #5B8CD2

    #5B8CD2

    oklch(63.6% 0.119 257.4)

  • #A872BA

    #A872BA

    oklch(63.4% 0.12 317.4)

Open the analogous palette in the generator

Split complementary

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

  • #877ECF

    #877ECF

    oklch(63.5% 0.12 287.6)

  • #B28024

    #B28024

    oklch(63.4% 0.12 77.8)

  • #669B51

    #669B51

    oklch(63.4% 0.119 137.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877ECF

    #877ECF

    oklch(63.5% 0.12 287.6)

  • #C57246

    #C57246

    oklch(63.5% 0.12 47.5)

  • #24A17C

    #24A17C

    oklch(63.4% 0.119 167.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877ECF

    #877ECF

    oklch(63.5% 0.12 287.6)

  • #C96A6F

    #C96A6F

    oklch(63.5% 0.12 17.8)

  • #938F2A

    #938F2A

    oklch(63.5% 0.12 107.1)

  • #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 #877ECF, closest first.

Similar named colors

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

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