#876798

Closest named color: Dark Lavender (#856798). oklch(56.4% 0.082 313.5), rgb(135, 103, 152).

Aa

White text reads best on this color (4.74:1).

About this color

#876798 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.082 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.003 away. White text reads best on it, at 4.74:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.42:1
White text4.74:1

Values

HEX#876798
RGBrgb(135, 103, 152)
HSLhsl(279, 19%, 50%)
OKLCHoklch(56.4% 0.082 313.5)

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 #876798 4.74:1 AA Lc -78.3 Fine for body text
Black text on #876798 4.42:1 AA large text Lc 31.2 Non-text elements, placeholder text
#876798 text on white 4.74:1 AA Lc 72.9 Content text, not long reading
#876798 text on black 4.42:1 AA large text Lc -28.8 Dividers and decoration only

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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DED5E3

    oklch(88.4% 0.021 313.8)

  4. Step 300

    300

    #C9BAD2

    oklch(80.9% 0.037 313)

  5. Step 400

    400

    #AE96BB

    oklch(70.7% 0.059 313.7)

  6. Step 500

    500

    #9A7CAA

    oklch(63.1% 0.076 313.6)

  7. Step 600

    600 (this color)

    #876798

    oklch(56.4% 0.082 313.5)

  8. Step 700

    700

    #70537F

    oklch(49% 0.077 313.7)

  9. Step 800

    800

    #5B4468

    oklch(42.6% 0.065 312.9)

  10. Step 900

    900

    #4B3A54

    oklch(37.7% 0.049 313.7)

  11. Step 950

    950

    #2C2231

    oklch(27% 0.031 314.3)

Export this scale for Tailwind in the Tailwind colors tool

#876798 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)#5F719A0.063
Deuteranopia (no green cones)#6674960.060
Tritanopia (no blue cones)#866D790.056
Achromatopsia (no color)#7373730.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #876798

    #876798

    oklch(56.4% 0.082 313.5)

  • #62804D

    #62804D

    oklch(56.3% 0.082 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #876798

    #876798

    oklch(56.4% 0.082 313.5)

  • #6F6FA5

    #6F6FA5

    oklch(56.4% 0.083 283.4)

  • #986282

    #986282

    oklch(56.5% 0.082 343.7)

Open the analogous palette in the generator

Split complementary

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

  • #876798

    #876798

    oklch(56.4% 0.082 313.5)

  • #7E783B

    #7E783B

    oklch(56.4% 0.083 103.6)

  • #428568

    #428568

    oklch(56.4% 0.083 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #876798

    #876798

    oklch(56.4% 0.082 313.5)

  • #936E3B

    #936E3B

    oklch(56.4% 0.083 73.6)

  • #2C8583

    #2C8583

    oklch(56.5% 0.082 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #876798

    #876798

    oklch(56.4% 0.082 313.5)

  • #9E654D

    #9E654D

    oklch(56.3% 0.082 43.5)

  • #62804D

    #62804D

    oklch(56.3% 0.082 133.3)

  • #368099

    #368099

    oklch(56.4% 0.082 223.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #876798 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.