#876FD2

Closest named color: Medium Purple (#9370DB). oklch(60.9% 0.147 292.7), rgb(135, 111, 210).

Aa

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

About this color

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

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

Values

HEX#876FD2
RGBrgb(135, 111, 210)
HSLhsl(255, 52%, 63%)
OKLCHoklch(60.9% 0.147 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 #876FD2 4.01:1 AA large text Lc -72.7 Content text, not long reading
Black text on #876FD2 5.23:1 AA Lc 36.8 Non-text elements, placeholder text
#876FD2 text on white 4.01:1 AA large text Lc 67.2 Content text, not long reading
#876FD2 text on black 5.23:1 AA Lc -34.4 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

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #D9D5F2

    oklch(88.5% 0.04 291.9)

  4. Step 300

    300

    #C1B9EC

    oklch(81% 0.072 291.9)

  5. Step 400

    400

    #A393E2

    oklch(70.8% 0.114 292.5)

  6. Step 500

    500 (this color)

    #876FD2

    oklch(60.9% 0.147 292.7)

  7. Step 600

    600

    #785CC7

    oklch(55.5% 0.16 292.5)

  8. Step 700

    700

    #664BAC

    oklch(49.1% 0.149 292.9)

  9. Step 800

    800

    #533E8B

    oklch(42.7% 0.123 293)

  10. Step 900

    900

    #44366F

    oklch(37.7% 0.095 292.6)

  11. Step 950

    950

    #282041

    oklch(27% 0.06 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#876FD2 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)#4C80D60.082
Deuteranopia (no green cones)#4F7DD00.078
Tritanopia (no blue cones)#7582960.120
Achromatopsia (no color)#7F7F7F0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #876FD2

    #876FD2

    oklch(60.9% 0.147 292.7)

  • #858A00

    #858A00

    oklch(60.9% 0.135 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876FD2

    #876FD2

    oklch(60.9% 0.147 292.7)

  • #527FDA

    #527FDA

    oklch(60.8% 0.147 262.9)

  • #AB61B6

    #AB61B6

    oklch(60.8% 0.147 322.3)

Open the analogous palette in the generator

Split complementary

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

  • #876FD2

    #876FD2

    oklch(60.9% 0.147 292.7)

  • #A77A00

    #A77A00

    oklch(60.8% 0.125 82.6)

  • #469842

    #469842

    oklch(60.8% 0.146 142.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876FD2

    #876FD2

    oklch(60.9% 0.147 292.7)

  • #C56517

    #C56517

    oklch(60.9% 0.147 52.6)

  • #00997C

    #00997C

    oklch(60.9% 0.117 173)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876FD2

    #876FD2

    oklch(60.9% 0.147 292.7)

  • #CC5959

    #CC5959

    oklch(60.9% 0.147 22.4)

  • #858A00

    #858A00

    oklch(60.9% 0.135 112.3)

  • #00959E

    #00959E

    oklch(61% 0.104 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 #876FD2, closest first.

Similar named colors

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

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