#873AF3

Closest named color: Blue Violet (#8A2BE2). oklch(55.8% 0.253 295.9), rgb(135, 58, 243).

Aa

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

About this color

#873AF3 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.253 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.034 away. White text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.253)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.92:1
White text5.34:1

Values

HEX#873AF3
RGBrgb(135, 58, 243)
HSLhsl(265, 89%, 59%)
OKLCHoklch(55.8% 0.253 295.9)

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 #873AF3 5.34:1 AA Lc -80.9 Fine for body text
Black text on #873AF3 3.92:1 AA large text Lc 28.6 Dividers and decoration only
#873AF3 text on white 5.34:1 AA Lc 75.5 Fine for body text
#873AF3 text on black 3.92:1 AA large text Lc -26.2 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

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FE

    oklch(93.6% 0.033 295.3)

  3. Step 200

    200

    #DCD1FF

    oklch(88.4% 0.064 296)

  4. Step 300

    300

    #C6B2FF

    oklch(80.8% 0.109 295.8)

  5. Step 400

    400

    #AB86FF

    oklch(70.7% 0.173 295.7)

  6. Step 500

    500

    #9960FF

    oklch(63.1% 0.225 295.8)

  7. Step 600

    600 (this color)

    #873AF3

    oklch(55.8% 0.253 295.9)

  8. Step 700

    700

    #7228D3

    oklch(49.1% 0.236 295.7)

  9. Step 800

    800

    #5D25AA

    oklch(42.7% 0.194 296.1)

  10. Step 900

    900

    #4B2687

    oklch(37.6% 0.152 295.6)

  11. Step 950

    950

    #2C184F

    oklch(27% 0.096 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#873AF3 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)#006CF80.152
Deuteranopia (no green cones)#0068F00.151
Tritanopia (no blue cones)#696D960.193
Achromatopsia (no color)#6B6B6B0.255

Harmonies

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

Complementary

The opposite hue (180°).

  • #873AF3

    #873AF3

    oklch(55.8% 0.253 295.9)

  • #717C00

    #717C00

    oklch(55.8% 0.127 115.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873AF3

    #873AF3

    oklch(55.8% 0.253 295.9)

  • #305EFF

    #305EFF

    oklch(55.7% 0.243 265.9)

  • #B80FC0

    #B80FC0

    oklch(55.8% 0.253 326)

Open the analogous palette in the generator

Split complementary

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

  • #873AF3

    #873AF3

    oklch(55.8% 0.253 295.9)

  • #926E00

    #926E00

    oklch(55.9% 0.114 85.8)

  • #008C2A

    #008C2A

    oklch(55.7% 0.171 145.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873AF3

    #873AF3

    oklch(55.8% 0.253 295.9)

  • #AE5A00

    #AE5A00

    oklch(55.7% 0.137 55.9)

  • #008771

    #008771

    oklch(55.7% 0.104 175.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873AF3

    #873AF3

    oklch(55.8% 0.253 295.9)

  • #D9001F

    #D9001F

    oklch(55.7% 0.226 25.8)

  • #717C00

    #717C00

    oklch(55.8% 0.127 115.8)

  • #00838F

    #00838F

    oklch(55.7% 0.095 206.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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