#876EB4

Closest named color: Deep Lilac (#966EBD). oklch(59.1% 0.107 299.6), rgb(135, 110, 180).

Aa

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

About this color

#876EB4 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.107 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.028 away. Black text reads best on it, at 4.91:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text4.91:1
White text4.26:1

Values

HEX#876EB4
RGBrgb(135, 110, 180)
HSLhsl(261, 32%, 57%)
OKLCHoklch(59.1% 0.107 299.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 #876EB4 4.26:1 AA large text Lc -74.9 Content text, not long reading
Black text on #876EB4 4.91:1 AA Lc 34.7 Non-text elements, placeholder text
#876EB4 text on white 4.26:1 AA large text Lc 69.4 Content text, not long reading
#876EB4 text on black 4.91:1 AA Lc -32.2 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E9

    oklch(88.6% 0.026 297.9)

  4. Step 300

    300

    #C5BADC

    oklch(80.9% 0.049 300.1)

  5. Step 400

    400

    #A796CA

    oklch(70.6% 0.077 299.4)

  6. Step 500

    500

    #927CBD

    oklch(63.2% 0.098 299.1)

  7. Step 600

    600 (this color)

    #876EB4

    oklch(59.1% 0.107 299.6)

  8. Step 700

    700

    #695291

    oklch(49% 0.101 299.5)

  9. Step 800

    800

    #564476

    oklch(42.8% 0.083 299.5)

  10. Step 900

    900

    #47395F

    oklch(37.7% 0.065 300.2)

  11. Step 950

    950

    #292238

    oklch(27% 0.041 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#876EB4 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)#5C7AB70.065
Deuteranopia (no green cones)#617AB20.061
Tritanopia (no blue cones)#7F7A880.086
Achromatopsia (no color)#7A7A7A0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #876EB4

    #876EB4

    oklch(59.1% 0.107 299.6)

  • #768636

    #768636

    oklch(59% 0.107 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876EB4

    #876EB4

    oklch(59.1% 0.107 299.6)

  • #647ABE

    #647ABE

    oklch(59.2% 0.108 269.3)

  • #A1659C

    #A1659C

    oklch(59.1% 0.107 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #876EB4

    #876EB4

    oklch(59.1% 0.107 299.6)

  • #977A23

    #977A23

    oklch(59.2% 0.108 89.5)

  • #4A8F5A

    #4A8F5A

    oklch(59% 0.107 149.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876EB4

    #876EB4

    oklch(59.1% 0.107 299.6)

  • #AC6D35

    #AC6D35

    oklch(59.2% 0.107 59.9)

  • #00927F

    #00927F

    oklch(59.1% 0.108 179.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876EB4

    #876EB4

    oklch(59.1% 0.107 299.6)

  • #B46357

    #B46357

    oklch(59% 0.107 29.5)

  • #768636

    #768636

    oklch(59% 0.107 119.3)

  • #008D9E

    #008D9E

    oklch(58.9% 0.102 209.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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