#873CAF

Closest named color: Purply (#983FB2). oklch(50.8% 0.181 311.7), rgb(135, 60, 175).

Aa

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

About this color

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

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

Values

HEX#873CAF
RGBrgb(135, 60, 175)
HSLhsl(279, 49%, 46%)
OKLCHoklch(50.8% 0.181 311.7)

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 #873CAF 6.37:1 AA Lc -86.2 Fine for body text
Black text on #873CAF 3.29:1 AA large text Lc 23.0 Dividers and decoration only
#873CAF text on white 6.37:1 AA Lc 81.0 Fine for body text
#873CAF text on black 3.29:1 AA large text Lc -20.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 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

    #E4D1F1

    oklch(88.6% 0.048 311.7)

  4. Step 300

    300

    #D3B1EA

    oklch(80.9% 0.087 311.4)

  5. Step 400

    400

    #BD85E0

    oklch(70.6% 0.141 311.5)

  6. Step 500

    500

    #AD63D7

    oklch(63.1% 0.18 311.8)

  7. Step 600

    600

    #9846C4

    oklch(55.6% 0.195 311.7)

  8. Step 700

    700 (this color)

    #873CAF

    oklch(50.8% 0.181 311.7)

  9. Step 800

    800

    #692E89

    oklch(42.6% 0.15 311.5)

  10. Step 900

    900

    #562B6E

    oklch(37.8% 0.117 311.7)

  11. Step 950

    950

    #321A40

    oklch(27% 0.073 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#873CAF 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)#005BB20.165
Deuteranopia (no green cones)#3161AC0.146
Tritanopia (no blue cones)#8253700.124
Achromatopsia (no color)#5F5F5F0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #873CAF

    #873CAF

    oklch(50.8% 0.181 311.7)

  • #467500

    #467500

    oklch(50.9% 0.141 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873CAF

    #873CAF

    oklch(50.8% 0.181 311.7)

  • #5A4FC8

    #5A4FC8

    oklch(50.8% 0.181 281.9)

  • #A52B83

    #A52B83

    oklch(50.9% 0.182 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #873CAF

    #873CAF

    oklch(50.8% 0.181 311.7)

  • #726700

    #726700

    oklch(50.8% 0.106 102.1)

  • #007951

    #007951

    oklch(50.9% 0.112 161.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873CAF

    #873CAF

    oklch(50.8% 0.181 311.7)

  • #8C5900

    #8C5900

    oklch(50.8% 0.109 71.1)

  • #007572

    #007572

    oklch(50.8% 0.087 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873CAF

    #873CAF

    oklch(50.8% 0.181 311.7)

  • #AA3D00

    #AA3D00

    oklch(50.8% 0.154 41.6)

  • #467500

    #467500

    oklch(50.9% 0.141 131.8)

  • #00718C

    #00718C

    oklch(50.9% 0.094 222)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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