#873EB2

Closest named color: Purply (#983FB2). oklch(51.3% 0.182 310.5), rgb(135, 62, 178).

Aa

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

About this color

#873EB2 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.182 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.033 away. White text reads best on it, at 6.24:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.182)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.36:1
White text6.24:1

Values

HEX#873EB2
RGBrgb(135, 62, 178)
HSLhsl(278, 48%, 47%)
OKLCHoklch(51.3% 0.182 310.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 #873EB2 6.24:1 AA Lc -85.7 Fine for body text
Black text on #873EB2 3.36:1 AA large text Lc 23.6 Dividers and decoration only
#873EB2 text on white 6.24:1 AA Lc 80.5 Fine for body text
#873EB2 text on black 3.36:1 AA large text Lc -21.3 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 700.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE5F7

    oklch(93.5% 0.026 310.4)

  3. Step 200

    200

    #E3D1F2

    oklch(88.5% 0.049 309.7)

  4. Step 300

    300

    #D2B1EB

    oklch(80.8% 0.087 310.2)

  5. Step 400

    400

    #BC86E1

    oklch(70.7% 0.14 310.5)

  6. Step 500

    500

    #AB64D8

    oklch(63.1% 0.179 310.5)

  7. Step 600

    600

    #9747C6

    oklch(55.7% 0.195 310.6)

  8. Step 700

    700 (this color)

    #873EB2

    oklch(51.3% 0.182 310.5)

  9. Step 800

    800

    #682F8A

    oklch(42.7% 0.15 310.4)

  10. Step 900

    900

    #552B6F

    oklch(37.7% 0.118 310.5)

  11. Step 950

    950

    #321A41

    oklch(27.1% 0.075 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#873EB2 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)#005DB60.163
Deuteranopia (no green cones)#2F62AF0.145
Tritanopia (no blue cones)#8155720.125
Achromatopsia (no color)#6060600.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #873EB2

    #873EB2

    oklch(51.3% 0.182 310.5)

  • #4A7600

    #4A7600

    oklch(51.4% 0.14 130.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873EB2

    #873EB2

    oklch(51.3% 0.182 310.5)

  • #5851CB

    #5851CB

    oklch(51.2% 0.183 280.3)

  • #A62D86

    #A62D86

    oklch(51.3% 0.182 340.6)

Open the analogous palette in the generator

Split complementary

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

  • #873EB2

    #873EB2

    oklch(51.3% 0.182 310.5)

  • #756800

    #756800

    oklch(51.4% 0.107 100.8)

  • #007A50

    #007A50

    oklch(51.2% 0.115 160.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873EB2

    #873EB2

    oklch(51.3% 0.182 310.5)

  • #8E5A00

    #8E5A00

    oklch(51.3% 0.111 70.8)

  • #007772

    #007772

    oklch(51.4% 0.089 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873EB2

    #873EB2

    oklch(51.3% 0.182 310.5)

  • #AE3C00

    #AE3C00

    oklch(51.3% 0.159 40.6)

  • #4A7600

    #4A7600

    oklch(51.4% 0.14 130.7)

  • #00738C

    #00738C

    oklch(51.4% 0.093 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #873EB2 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.