#877EB7

Closest named color: Lavender Gray (#7E7F9A). oklch(62.3% 0.085 290.9), rgb(135, 126, 183).

Aa

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

About this color

#877EB7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.085 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.049 away. Black text reads best on it, at 5.69:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.69:1
White text3.68:1

Values

HEX#877EB7
RGBrgb(135, 126, 183)
HSLhsl(249, 28%, 61%)
OKLCHoklch(62.3% 0.085 290.9)

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 #877EB7 3.68:1 AA large text Lc -69.9 Content text, not long reading
Black text on #877EB7 5.69:1 AA Lc 39.7 Non-text elements, placeholder text
#877EB7 text on white 3.68:1 AA large text Lc 64.4 Content text, not long reading
#877EB7 text on black 5.69:1 AA Lc -37.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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D9D7E8

    oklch(88.6% 0.023 291.3)

  4. Step 300

    300

    #C0BCDA

    oklch(80.8% 0.042 291.5)

  5. Step 400

    400

    #A09AC8

    oklch(70.8% 0.067 290.6)

  6. Step 500

    500 (this color)

    #877EB7

    oklch(62.3% 0.085 290.9)

  7. Step 600

    600

    #7469A6

    oklch(55.6% 0.094 291.3)

  8. Step 700

    700

    #61578E

    oklch(49% 0.087 291.2)

  9. Step 800

    800

    #4F4873

    oklch(42.8% 0.07 290.6)

  10. Step 900

    900

    #423C5D

    oklch(37.7% 0.056 291.8)

  11. Step 950

    950

    #262336

    oklch(26.8% 0.035 291.1)

Export this scale for Tailwind in the Tailwind colors tool

#877EB7 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)#6F86B90.037
Deuteranopia (no green cones)#7084B50.035
Tritanopia (no blue cones)#7D88920.073
Achromatopsia (no color)#8585850.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #877EB7

    #877EB7

    oklch(62.3% 0.085 290.9)

  • #898C4D

    #898C4D

    oklch(62.3% 0.085 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877EB7

    #877EB7

    oklch(62.3% 0.085 290.9)

  • #6A88BB

    #6A88BB

    oklch(62.4% 0.085 260.7)

  • #9F76A7

    #9F76A7

    oklch(62.4% 0.086 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #877EB7

    #877EB7

    oklch(62.3% 0.085 290.9)

  • #A28248

    #A28248

    oklch(62.4% 0.086 81)

  • #6A9463

    #6A9463

    oklch(62.3% 0.085 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877EB7

    #877EB7

    oklch(62.3% 0.085 290.9)

  • #B17857

    #B17857

    oklch(62.4% 0.086 50.7)

  • #4B9880

    #4B9880

    oklch(62.3% 0.085 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877EB7

    #877EB7

    oklch(62.3% 0.085 290.9)

  • #B57271

    #B57271

    oklch(62.3% 0.085 20.7)

  • #898C4D

    #898C4D

    oklch(62.3% 0.085 111)

  • #3C969C

    #3C969C

    oklch(62.2% 0.085 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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