#876CD7

Closest named color: Medium Purple (#9370DB). oklch(60.7% 0.158 292.7), rgb(135, 108, 215).

Aa

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

About this color

#876CD7 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.158 and its hue 293°. 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.15:1.

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

Values

HEX#876CD7
RGBrgb(135, 108, 215)
HSLhsl(255, 57%, 63%)
OKLCHoklch(60.7% 0.158 292.7)

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 #876CD7 4.07:1 AA large text Lc -73.2 Content text, not long reading
Black text on #876CD7 5.15:1 AA Lc 36.4 Non-text elements, placeholder text
#876CD7 text on white 4.07:1 AA large text Lc 67.7 Content text, not long reading
#876CD7 text on black 5.15:1 AA Lc -33.9 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

    #C2B8EF

    oklch(81% 0.077 292.9)

  5. Step 400

    400

    #A391E7

    oklch(70.7% 0.124 292.5)

  6. Step 500

    500 (this color)

    #876CD7

    oklch(60.7% 0.158 292.7)

  7. Step 600

    600

    #7959CD

    oklch(55.5% 0.172 292.6)

  8. Step 700

    700

    #6648B1

    oklch(49% 0.16 292.7)

  9. Step 800

    800

    #533C90

    oklch(42.7% 0.133 292.5)

  10. Step 900

    900

    #443473

    oklch(37.6% 0.104 292.4)

  11. Step 950

    950

    #281F43

    oklch(27% 0.065 293)

Export this scale for Tailwind in the Tailwind colors tool

#876CD7 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)#437FDB0.091
Deuteranopia (no green cones)#477CD50.087
Tritanopia (no blue cones)#7381970.128
Achromatopsia (no color)#7E7E7E0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #876CD7

    #876CD7

    oklch(60.7% 0.158 292.7)

  • #848A00

    #848A00

    oklch(60.8% 0.135 112.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876CD7

    #876CD7

    oklch(60.7% 0.158 292.7)

  • #4D7EE0

    #4D7EE0

    oklch(60.7% 0.158 262.6)

  • #AE5DB8

    #AE5DB8

    oklch(60.7% 0.158 323.1)

Open the analogous palette in the generator

Split complementary

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

  • #876CD7

    #876CD7

    oklch(60.7% 0.158 292.7)

  • #A67A00

    #A67A00

    oklch(60.7% 0.125 83.2)

  • #3E993A

    #3E993A

    oklch(60.7% 0.158 142.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876CD7

    #876CD7

    oklch(60.7% 0.158 292.7)

  • #C76200

    #C76200

    oklch(60.7% 0.154 52.8)

  • #00987B

    #00987B

    oklch(60.6% 0.117 172.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876CD7

    #876CD7

    oklch(60.7% 0.158 292.7)

  • #D05454

    #D05454

    oklch(60.7% 0.158 23)

  • #848A00

    #848A00

    oklch(60.8% 0.135 112.8)

  • #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 #876CD7, closest first.

Similar named colors

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

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