#876CC5

Closest named color: Deep Lilac (#966EBD). oklch(59.6% 0.134 296.1), rgb(135, 108, 197).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text4.98:1
White text4.21:1

Values

HEX#876CC5
RGBrgb(135, 108, 197)
HSLhsl(258, 43%, 60%)
OKLCHoklch(59.6% 0.134 296.1)

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 #876CC5 4.21:1 AA large text Lc -74.4 Content text, not long reading
Black text on #876CC5 4.98:1 AA Lc 35.1 Non-text elements, placeholder text
#876CC5 text on white 4.21:1 AA large text Lc 68.9 Content text, not long reading
#876CC5 text on black 4.98:1 AA Lc -32.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE8F5

    oklch(93.7% 0.018 296.6)

  3. Step 200

    200

    #DBD5EF

    oklch(88.6% 0.036 296.2)

  4. Step 300

    300

    #C4B9E7

    oklch(81% 0.065 295.9)

  5. Step 400

    400

    #A693DB

    oklch(70.7% 0.105 295.7)

  6. Step 500

    500 (this color)

    #876CC5

    oklch(59.6% 0.134 296.1)

  7. Step 600

    600

    #7C5EBE

    oklch(55.7% 0.145 295.7)

  8. Step 700

    700

    #694DA4

    oklch(49.2% 0.135 295.9)

  9. Step 800

    800

    #553F84

    oklch(42.6% 0.112 296)

  10. Step 900

    900

    #46366A

    oklch(37.6% 0.088 296.1)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#876CC5 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)#507CC80.080
Deuteranopia (no green cones)#557AC30.075
Tritanopia (no blue cones)#797C8F0.107
Achromatopsia (no color)#7B7B7B0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #876CC5

    #876CC5

    oklch(59.6% 0.134 296.1)

  • #7C8809

    #7C8809

    oklch(59.6% 0.134 115.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876CC5

    #876CC5

    oklch(59.6% 0.134 296.1)

  • #597BCF

    #597BCF

    oklch(59.7% 0.134 265.9)

  • #A760A9

    #A760A9

    oklch(59.6% 0.133 326.1)

Open the analogous palette in the generator

Split complementary

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

  • #876CC5

    #876CC5

    oklch(59.6% 0.134 296.1)

  • #9F7900

    #9F7900

    oklch(59.7% 0.122 86.5)

  • #41944B

    #41944B

    oklch(59.7% 0.135 146)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876CC5

    #876CC5

    oklch(59.6% 0.134 296.1)

  • #BA661D

    #BA661D

    oklch(59.6% 0.134 55.7)

  • #00947D

    #00947D

    oklch(59.6% 0.111 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876CC5

    #876CC5

    oklch(59.6% 0.134 296.1)

  • #C25B53

    #C25B53

    oklch(59.6% 0.134 26.4)

  • #7C8809

    #7C8809

    oklch(59.6% 0.134 115.9)

  • #00909D

    #00909D

    oklch(59.7% 0.102 206)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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