#876BAB

Closest named color: Dark Lavender (#856798). oklch(58.1% 0.1 303.6), rgb(135, 107, 171).

Aa

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

About this color

#876BAB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.100 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.029 away. Black text reads best on it, at 4.72:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.72:1
White text4.44:1

Values

HEX#876BAB
RGBrgb(135, 107, 171)
HSLhsl(266, 28%, 55%)
OKLCHoklch(58.1% 0.1 303.6)

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 #876BAB 4.44:1 AA large text Lc -76.3 Fine for body text
Black text on #876BAB 4.72:1 AA Lc 33.3 Non-text elements, placeholder text
#876BAB text on white 4.44:1 AA large text Lc 70.8 Content text, not long reading
#876BAB text on black 4.72:1 AA Lc -30.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 600.

  1. Step 50

    50

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DCD5E7

    oklch(88.4% 0.026 303.5)

  4. Step 300

    300

    #C6BAD9

    oklch(80.9% 0.045 303)

  5. Step 400

    400

    #AA96C6

    oklch(70.7% 0.072 303.6)

  6. Step 500

    500

    #957BB7

    oklch(63% 0.093 303.7)

  7. Step 600

    600 (this color)

    #876BAB

    oklch(58.1% 0.1 303.6)

  8. Step 700

    700

    #6C538C

    oklch(49.2% 0.093 303.4)

  9. Step 800

    800

    #584471

    oklch(42.7% 0.076 303.8)

  10. Step 900

    900

    #48395C

    oklch(37.6% 0.061 303.3)

  11. Step 950

    950

    #2A2236

    oklch(27% 0.038 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#876BAB 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)#5C77AD0.066
Deuteranopia (no green cones)#6277A90.061
Tritanopia (no blue cones)#8175830.076
Achromatopsia (no color)#7777770.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #876BAB

    #876BAB

    oklch(58.1% 0.1 303.6)

  • #6F843D

    #6F843D

    oklch(58% 0.1 123.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876BAB

    #876BAB

    oklch(58.1% 0.1 303.6)

  • #6876B6

    #6876B6

    oklch(58.2% 0.1 273.5)

  • #9E6393

    #9E6393

    oklch(58% 0.1 333.8)

Open the analogous palette in the generator

Split complementary

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

  • #876BAB

    #876BAB

    oklch(58.1% 0.1 303.6)

  • #8E792A

    #8E792A

    oklch(58% 0.1 94)

  • #468C5E

    #468C5E

    oklch(58.2% 0.101 153.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876BAB

    #876BAB

    oklch(58.1% 0.1 303.6)

  • #A46C35

    #A46C35

    oklch(58% 0.101 62.9)

  • #108D81

    #108D81

    oklch(58% 0.1 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876BAB

    #876BAB

    oklch(58.1% 0.1 303.6)

  • #AE6352

    #AE6352

    oklch(58.1% 0.101 33.7)

  • #6F843D

    #6F843D

    oklch(58% 0.1 123.2)

  • #09899E

    #09899E

    oklch(58% 0.1 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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