#887ECB

Closest named color: Deep Lilac (#966EBD). oklch(63.4% 0.114 288.7), rgb(136, 126, 203).

Aa

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

About this color

#887ECB is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.114 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.045 away. Black text reads best on it, at 5.89:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.89:1
White text3.56:1

Values

HEX#887ECB
RGBrgb(136, 126, 203)
HSLhsl(248, 43%, 65%)
OKLCHoklch(63.4% 0.114 288.7)

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 #887ECB 3.56:1 AA large text Lc -68.6 Content text, not long reading
Black text on #887ECB 5.89:1 AA Lc 40.9 Non-text elements, placeholder text
#887ECB text on white 3.56:1 AA large text Lc 63.1 Content text, not long reading
#887ECB text on black 5.89:1 AA Lc -38.5 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6ED

    oklch(88.5% 0.031 289.7)

  4. Step 300

    300

    #BFBBE3

    oklch(80.8% 0.056 289.7)

  5. Step 400

    400

    #9E98D5

    oklch(70.7% 0.088 288.4)

  6. Step 500

    500 (this color)

    #887ECB

    oklch(63.4% 0.114 288.7)

  7. Step 600

    600

    #7265B7

    oklch(55.6% 0.124 289)

  8. Step 700

    700

    #5F549D

    oklch(49.1% 0.114 288.4)

  9. Step 800

    800

    #4E4580

    oklch(42.8% 0.096 288.7)

  10. Step 900

    900

    #403A66

    oklch(37.6% 0.074 288.6)

  11. Step 950

    950

    #26223C

    oklch(27% 0.048 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#887ECB 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)#6789CE0.049
Deuteranopia (no green cones)#6686C90.049
Tritanopia (no blue cones)#788C9B0.096
Achromatopsia (no color)#8888880.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #887ECB

    #887ECB

    oklch(63.4% 0.114 288.7)

  • #908F33

    #908F33

    oklch(63.3% 0.113 108.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #887ECB

    #887ECB

    oklch(63.4% 0.114 288.7)

  • #5E8BCF

    #5E8BCF

    oklch(63.4% 0.114 258.4)

  • #A873B6

    #A873B6

    oklch(63.4% 0.114 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #887ECB

    #887ECB

    oklch(63.4% 0.114 288.7)

  • #AF812C

    #AF812C

    oklch(63.3% 0.114 78.9)

  • #669B55

    #669B55

    oklch(63.5% 0.115 138.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #887ECB

    #887ECB

    oklch(63.4% 0.114 288.7)

  • #C17449

    #C17449

    oklch(63.4% 0.113 48.9)

  • #2CA07E

    #2CA07E

    oklch(63.4% 0.114 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #887ECB

    #887ECB

    oklch(63.4% 0.114 288.7)

  • #C66C6F

    #C66C6F

    oklch(63.4% 0.114 18.7)

  • #908F33

    #908F33

    oklch(63.3% 0.113 108.6)

  • #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 #887ECB, closest first.

Similar named colors

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

Use #887ECB 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.