#873EA5

Closest named color: Purply (#983FB2). oklch(50.4% 0.168 314.8), rgb(135, 62, 165).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.168)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.26:1
White text6.43:1

Values

HEX#873EA5
RGBrgb(135, 62, 165)
HSLhsl(283, 45%, 45%)
OKLCHoklch(50.4% 0.168 314.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 #873EA5 6.43:1 AA Lc -86.5 Fine for body text
Black text on #873EA5 3.26:1 AA large text Lc 22.7 Dividers and decoration only
#873EA5 text on white 6.43:1 AA Lc 81.4 Fine for body text
#873EA5 text on black 3.26:1 AA large text Lc -20.5 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

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E5D1EE

    oklch(88.6% 0.045 315.5)

  4. Step 300

    300

    #D5B1E5

    oklch(80.9% 0.082 315.4)

  5. Step 400

    400

    #BF87D8

    oklch(70.8% 0.129 315)

  6. Step 500

    500

    #AE66CE

    oklch(63.2% 0.166 314.5)

  7. Step 600

    600

    #994ABB

    oklch(55.6% 0.181 314.4)

  8. Step 700

    700 (this color)

    #873EA5

    oklch(50.4% 0.168 314.8)

  9. Step 800

    800

    #6A3182

    oklch(42.6% 0.139 314.6)

  10. Step 900

    900

    #562C69

    oklch(37.6% 0.109 314.2)

  11. Step 950

    950

    #331B3D

    oklch(27.1% 0.068 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#873EA5 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)#1A5AA80.157
Deuteranopia (no green cones)#3C60A20.136
Tritanopia (no blue cones)#85516C0.111
Achromatopsia (no color)#5E5E5E0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #873EA5

    #873EA5

    oklch(50.4% 0.168 314.8)

  • #3C7500

    #3C7500

    oklch(50.3% 0.146 134.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873EA5

    #873EA5

    oklch(50.4% 0.168 314.8)

  • #5E4FBF

    #5E4FBF

    oklch(50.4% 0.169 284.7)

  • #A2307A

    #A2307A

    oklch(50.4% 0.168 344.9)

Open the analogous palette in the generator

Split complementary

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

  • #873EA5

    #873EA5

    oklch(50.4% 0.168 314.8)

  • #6E6700

    #6E6700

    oklch(50.4% 0.107 104.9)

  • #007755

    #007755

    oklch(50.4% 0.106 165)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873EA5

    #873EA5

    oklch(50.4% 0.168 314.8)

  • #875A00

    #875A00

    oklch(50.4% 0.106 75.2)

  • #007373

    #007373

    oklch(50.3% 0.086 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873EA5

    #873EA5

    oklch(50.4% 0.168 314.8)

  • #A44100

    #A44100

    oklch(50.3% 0.145 44.6)

  • #3C7500

    #3C7500

    oklch(50.3% 0.146 134.7)

  • #006F8D

    #006F8D

    oklch(50.4% 0.095 224.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #873EA5.

Similar named colors

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

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