#876AEA

Closest named color: Medium Slate Blue (#7B68EE). oklch(61.5% 0.185 290.3), rgb(135, 106, 234).

Aa

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

About this color

#876AEA is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.185 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.021 away. Black text reads best on it, at 5.27:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.185)
Temperaturein between
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.27:1
White text3.97:1

Values

HEX#876AEA
RGBrgb(135, 106, 234)
HSLhsl(254, 75%, 67%)
OKLCHoklch(61.5% 0.185 290.3)

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 #876AEA 3.97:1 AA large text Lc -72.3 Content text, not long reading
Black text on #876AEA 5.27:1 AA Lc 37.3 Non-text elements, placeholder text
#876AEA text on white 3.97:1 AA large text Lc 66.8 Content text, not long reading
#876AEA text on black 5.27:1 AA Lc -34.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4F9

    oklch(88.5% 0.051 290.3)

  4. Step 300

    300

    #C0B7F8

    oklch(81% 0.091 290.6)

  5. Step 400

    400

    #A18FF4

    oklch(70.8% 0.145 290.4)

  6. Step 500

    500 (this color)

    #876AEA

    oklch(61.5% 0.185 290.3)

  7. Step 600

    600

    #7753DE

    oklch(55.6% 0.202 290.2)

  8. Step 700

    700

    #6542C1

    oklch(49.2% 0.188 290.4)

  9. Step 800

    800

    #52389C

    oklch(42.8% 0.155 290.3)

  10. Step 900

    900

    #43317C

    oklch(37.6% 0.122 290.4)

  11. Step 950

    950

    #271E49

    oklch(27.1% 0.077 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#876AEA 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)#2782EE0.110
Deuteranopia (no green cones)#2C7DE70.106
Tritanopia (no blue cones)#6B86A00.152
Achromatopsia (no color)#7F7F7F0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #876AEA

    #876AEA

    oklch(61.5% 0.185 290.3)

  • #8A8B00

    #8A8B00

    oklch(61.5% 0.135 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876AEA

    #876AEA

    oklch(61.5% 0.185 290.3)

  • #3C7FF2

    #3C7FF2

    oklch(61.4% 0.186 260.4)

  • #B457C8

    #B457C8

    oklch(61.4% 0.186 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #876AEA

    #876AEA

    oklch(61.5% 0.185 290.3)

  • #AC7B00

    #AC7B00

    oklch(61.6% 0.127 80.6)

  • #389E1D

    #389E1D

    oklch(61.6% 0.186 140.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876AEA

    #876AEA

    oklch(61.5% 0.185 290.3)

  • #CE6100

    #CE6100

    oklch(61.5% 0.162 50.4)

  • #009C7A

    #009C7A

    oklch(61.6% 0.122 170.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876AEA

    #876AEA

    oklch(61.5% 0.185 290.3)

  • #DE4853

    #DE4853

    oklch(61.5% 0.186 20.4)

  • #8A8B00

    #8A8B00

    oklch(61.5% 0.135 110.3)

  • #00979E

    #00979E

    oklch(61.5% 0.105 200.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #876AEA.

Similar named colors

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

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