#876EA7

Closest named color: Dark Lavender (#856798). oklch(58.4% 0.09 303.9), rgb(135, 110, 167).

Aa

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

About this color

#876EA7 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.090 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.027 away. Black text reads best on it, at 4.81:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.81:1
White text4.35:1

Values

HEX#876EA7
RGBrgb(135, 110, 167)
HSLhsl(266, 24%, 54%)
OKLCHoklch(58.4% 0.09 303.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 #876EA7 4.35:1 AA large text Lc -75.6 Fine for body text
Black text on #876EA7 4.81:1 AA Lc 33.9 Non-text elements, placeholder text
#876EA7 text on white 4.35:1 AA large text Lc 70.1 Content text, not long reading
#876EA7 text on black 4.81:1 AA Lc -31.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 600.

  1. Step 50

    50

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DCD6E6

    oklch(88.6% 0.023 302.9)

  4. Step 300

    300

    #C6BBD6

    oklch(81% 0.039 304)

  5. Step 400

    400

    #A997C2

    oklch(70.7% 0.065 303.9)

  6. Step 500

    500

    #947DB2

    oklch(63.1% 0.082 304)

  7. Step 600

    600 (this color)

    #876EA7

    oklch(58.4% 0.09 303.9)

  8. Step 700

    700

    #6B5487

    oklch(49% 0.084 304.2)

  9. Step 800

    800

    #57456E

    oklch(42.7% 0.07 303.8)

  10. Step 900

    900

    #483A59

    oklch(37.7% 0.055 304.6)

  11. Step 950

    950

    #2A2234

    oklch(26.9% 0.035 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#876EA7 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)#6278A90.057
Deuteranopia (no green cones)#6779A50.054
Tritanopia (no blue cones)#8277830.069
Achromatopsia (no color)#7979790.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #876EA7

    #876EA7

    oklch(58.4% 0.09 303.9)

  • #718547

    #718547

    oklch(58.6% 0.09 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876EA7

    #876EA7

    oklch(58.4% 0.09 303.9)

  • #6B77B1

    #6B77B1

    oklch(58.4% 0.09 274.3)

  • #9C6792

    #9C6792

    oklch(58.5% 0.09 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #876EA7

    #876EA7

    oklch(58.4% 0.09 303.9)

  • #8D7A38

    #8D7A38

    oklch(58.3% 0.089 93.4)

  • #4E8B63

    #4E8B63

    oklch(58.4% 0.089 154)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876EA7

    #876EA7

    oklch(58.4% 0.09 303.9)

  • #A17040

    #A17040

    oklch(58.5% 0.089 63.9)

  • #2C8D81

    #2C8D81

    oklch(58.5% 0.09 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876EA7

    #876EA7

    oklch(58.4% 0.09 303.9)

  • #AA6758

    #AA6758

    oklch(58.4% 0.09 33.4)

  • #718547

    #718547

    oklch(58.6% 0.09 123.8)

  • #2A899C

    #2A899C

    oklch(58.4% 0.09 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #876EA7 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.