#876EDA

Closest named color: Medium Purple (#9370DB). oklch(61.2% 0.159 291.7), rgb(135, 110, 218).

Aa

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

About this color

#876EDA is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.159 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.020 away. Black text reads best on it, at 5.27:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.159)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.27:1
White text3.98:1

Values

HEX#876EDA
RGBrgb(135, 110, 218)
HSLhsl(254, 59%, 64%)
OKLCHoklch(61.2% 0.159 291.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 #876EDA 3.98:1 AA large text Lc -72.5 Content text, not long reading
Black text on #876EDA 5.27:1 AA Lc 37.1 Non-text elements, placeholder text
#876EDA text on white 3.98:1 AA large text Lc 67.0 Content text, not long reading
#876EDA text on black 5.27:1 AA Lc -34.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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE8F8

    oklch(93.7% 0.022 291.7)

  3. Step 200

    200

    #D9D5F4

    oklch(88.6% 0.042 291.4)

  4. Step 300

    300

    #C1B8EF

    oklch(80.9% 0.077 292.1)

  5. Step 400

    400

    #A292E8

    oklch(70.8% 0.124 291.4)

  6. Step 500

    500 (this color)

    #876EDA

    oklch(61.2% 0.159 291.7)

  7. Step 600

    600

    #785ACE

    oklch(55.7% 0.172 291.8)

  8. Step 700

    700

    #6549B2

    oklch(49.1% 0.16 291.7)

  9. Step 800

    800

    #523C90

    oklch(42.6% 0.133 291.8)

  10. Step 900

    900

    #443573

    oklch(37.8% 0.103 291.9)

  11. Step 950

    950

    #271F44

    oklch(26.9% 0.067 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#876EDA 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)#4481DE0.089
Deuteranopia (no green cones)#477DD80.086
Tritanopia (no blue cones)#72849A0.130
Achromatopsia (no color)#7F7F7F0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #876EDA

    #876EDA

    oklch(61.2% 0.159 291.7)

  • #878B00

    #878B00

    oklch(61.3% 0.135 111.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876EDA

    #876EDA

    oklch(61.2% 0.159 291.7)

  • #4B80E2

    #4B80E2

    oklch(61.2% 0.159 261.5)

  • #AE5FBC

    #AE5FBC

    oklch(61.2% 0.158 321.4)

Open the analogous palette in the generator

Split complementary

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

  • #876EDA

    #876EDA

    oklch(61.2% 0.159 291.7)

  • #A97B00

    #A97B00

    oklch(61.2% 0.126 82.3)

  • #439A39

    #439A39

    oklch(61.1% 0.158 141.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876EDA

    #876EDA

    oklch(61.2% 0.159 291.7)

  • #CB6200

    #CB6200

    oklch(61.2% 0.158 51.7)

  • #009A7B

    #009A7B

    oklch(61.1% 0.119 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876EDA

    #876EDA

    oklch(61.2% 0.159 291.7)

  • #D25558

    #D25558

    oklch(61.3% 0.158 21.6)

  • #878B00

    #878B00

    oklch(61.3% 0.135 111.8)

  • #00969E

    #00969E

    oklch(61.2% 0.104 201.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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