#873CB5

Closest named color: Purply (#983FB2). oklch(51.2% 0.188 309.8), rgb(135, 60, 181).

Aa

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

About this color

#873CB5 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.188 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.035 away. White text reads best on it, at 6.28:1.

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

Values

HEX#873CB5
RGBrgb(135, 60, 181)
HSLhsl(277, 50%, 47%)
OKLCHoklch(51.2% 0.188 309.8)

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 #873CB5 6.28:1 AA Lc -85.8 Fine for body text
Black text on #873CB5 3.34:1 AA large text Lc 23.5 Dividers and decoration only
#873CB5 text on white 6.28:1 AA Lc 80.6 Fine for body text
#873CB5 text on black 3.34: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F7

    oklch(93.5% 0.026 310.4)

  3. Step 200

    200

    #E3D1F3

    oklch(88.6% 0.05 309.1)

  4. Step 300

    300

    #D2B1ED

    oklch(80.9% 0.09 309.4)

  5. Step 400

    400

    #BC85E4

    oklch(70.7% 0.145 309.8)

  6. Step 500

    500

    #AB62DC

    oklch(63% 0.186 309.7)

  7. Step 600

    600

    #9745C9

    oklch(55.6% 0.201 310)

  8. Step 700

    700 (this color)

    #873CB5

    oklch(51.2% 0.188 309.8)

  9. Step 800

    800

    #682D8D

    oklch(42.6% 0.156 309.6)

  10. Step 900

    900

    #552A71

    oklch(37.7% 0.122 309.7)

  11. Step 950

    950

    #321A42

    oklch(27.1% 0.076 310)

Export this scale for Tailwind in the Tailwind colors tool

#873CB5 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)#005DB90.164
Deuteranopia (no green cones)#2961B20.150
Tritanopia (no blue cones)#8155730.130
Achromatopsia (no color)#6060600.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #873CB5

    #873CB5

    oklch(51.2% 0.188 309.8)

  • #4C7500

    #4C7500

    oklch(51.2% 0.137 129.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873CB5

    #873CB5

    oklch(51.2% 0.188 309.8)

  • #5750CE

    #5750CE

    oklch(51.2% 0.188 279.9)

  • #A72A88

    #A72A88

    oklch(51.3% 0.187 339.9)

Open the analogous palette in the generator

Split complementary

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

  • #873CB5

    #873CB5

    oklch(51.2% 0.188 309.8)

  • #756700

    #756700

    oklch(51.1% 0.106 100)

  • #007A4F

    #007A4F

    oklch(51.1% 0.115 160.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873CB5

    #873CB5

    oklch(51.2% 0.188 309.8)

  • #8F5900

    #8F5900

    oklch(51.2% 0.111 69.4)

  • #007772

    #007772

    oklch(51.4% 0.089 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873CB5

    #873CB5

    oklch(51.2% 0.188 309.8)

  • #AF3A00

    #AF3A00

    oklch(51.3% 0.162 39.7)

  • #4C7500

    #4C7500

    oklch(51.2% 0.137 129.7)

  • #00738B

    #00738B

    oklch(51.3% 0.093 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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