#876CD9

Closest named color: Medium Purple (#9370DB). oklch(60.8% 0.161 292.4), rgb(135, 108, 217).

Aa

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

About this color

#876CD9 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.161 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.023 away. Black text reads best on it, at 5.17:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.161)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.17:1
White text4.05:1

Values

HEX#876CD9
RGBrgb(135, 108, 217)
HSLhsl(255, 59%, 64%)
OKLCHoklch(60.8% 0.161 292.4)

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 #876CD9 4.05:1 AA large text Lc -73.1 Content text, not long reading
Black text on #876CD9 5.17:1 AA Lc 36.5 Non-text elements, placeholder text
#876CD9 text on white 4.05:1 AA large text Lc 67.6 Content text, not long reading
#876CD9 text on black 5.17:1 AA Lc -34.1 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #D9D4F4

    oklch(88.4% 0.044 292.6)

  4. Step 300

    300

    #C1B8F0

    oklch(80.9% 0.079 291.9)

  5. Step 400

    400

    #A391E8

    oklch(70.7% 0.126 292.4)

  6. Step 500

    500 (this color)

    #876CD9

    oklch(60.8% 0.161 292.4)

  7. Step 600

    600

    #7959CF

    oklch(55.7% 0.175 292.3)

  8. Step 700

    700

    #6648B3

    oklch(49.1% 0.162 292.3)

  9. Step 800

    800

    #533C91

    oklch(42.7% 0.134 292.2)

  10. Step 900

    900

    #443473

    oklch(37.6% 0.104 292.4)

  11. Step 950

    950

    #281F44

    oklch(27% 0.067 292.5)

Export this scale for Tailwind in the Tailwind colors tool

#876CD9 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)#4180DD0.093
Deuteranopia (no green cones)#457CD60.089
Tritanopia (no blue cones)#7282980.131
Achromatopsia (no color)#7E7E7E0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #876CD9

    #876CD9

    oklch(60.8% 0.161 292.4)

  • #858A00

    #858A00

    oklch(60.9% 0.135 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876CD9

    #876CD9

    oklch(60.8% 0.161 292.4)

  • #4C7EE1

    #4C7EE1

    oklch(60.8% 0.16 262.5)

  • #AE5DBA

    #AE5DBA

    oklch(60.8% 0.16 322.3)

Open the analogous palette in the generator

Split complementary

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

  • #876CD9

    #876CD9

    oklch(60.8% 0.161 292.4)

  • #A77A00

    #A77A00

    oklch(60.8% 0.125 82.6)

  • #3E9938

    #3E9938

    oklch(60.7% 0.16 142.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876CD9

    #876CD9

    oklch(60.8% 0.161 292.4)

  • #C86200

    #C86200

    oklch(60.8% 0.155 52.5)

  • #00997B

    #00997B

    oklch(60.9% 0.118 172.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876CD9

    #876CD9

    oklch(60.8% 0.161 292.4)

  • #D15354

    #D15354

    oklch(60.8% 0.16 22.7)

  • #858A00

    #858A00

    oklch(60.9% 0.135 112.3)

  • #00949D

    #00949D

    oklch(60.7% 0.103 202.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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