#8371C5

Closest named color: Deep Lilac (#966EBD). oklch(60.2% 0.126 292), rgb(131, 113, 197).

Aa

Black text reads best on this color (5.13:1).

About this color

#8371C5 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.126 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.032 away. Black text reads best on it, at 5.13:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.13:1
White text4.09:1

Values

HEX#8371C5
RGBrgb(131, 113, 197)
HSLhsl(253, 42%, 61%)
OKLCHoklch(60.2% 0.126 292)

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 #8371C5 4.09:1 AA large text Lc -73.5 Content text, not long reading
Black text on #8371C5 5.13:1 AA Lc 36.1 Non-text elements, placeholder text
#8371C5 text on white 4.09:1 AA large text Lc 68.0 Content text, not long reading
#8371C5 text on black 5.13:1 AA Lc -33.7 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D6EE

    oklch(88.6% 0.033 291.5)

  4. Step 300

    300

    #C1BAE6

    oklch(80.9% 0.062 292.3)

  5. Step 400

    400

    #A295D9

    oklch(70.7% 0.099 292.5)

  6. Step 500

    500 (this color)

    #8371C5

    oklch(60.2% 0.126 292)

  7. Step 600

    600

    #7661BC

    oklch(55.5% 0.138 291.9)

  8. Step 700

    700

    #6450A2

    oklch(49.1% 0.128 292.3)

  9. Step 800

    800

    #514283

    oklch(42.7% 0.105 292)

  10. Step 900

    900

    #433869

    oklch(37.6% 0.082 292.3)

  11. Step 950

    950

    #27213E

    oklch(27% 0.053 291.9)

Export this scale for Tailwind in the Tailwind colors tool

#8371C5 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)#567FC80.066
Deuteranopia (no green cones)#587CC30.062
Tritanopia (no blue cones)#7381910.105
Achromatopsia (no color)#7D7D7D0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #8371C5

    #8371C5

    oklch(60.2% 0.126 292)

  • #838718

    #838718

    oklch(60.1% 0.125 111.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8371C5

    #8371C5

    oklch(60.2% 0.126 292)

  • #567FCB

    #567FCB

    oklch(60.1% 0.125 261.9)

  • #A365AD

    #A365AD

    oklch(60.1% 0.126 321.9)

Open the analogous palette in the generator

Split complementary

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

  • #8371C5

    #8371C5

    oklch(60.2% 0.126 292)

  • #A57800

    #A57800

    oklch(60.2% 0.124 82.2)

  • #51934A

    #51934A

    oklch(60.1% 0.126 141.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8371C5

    #8371C5

    oklch(60.2% 0.126 292)

  • #BA6830

    #BA6830

    oklch(60.1% 0.126 52.1)

  • #009779

    #009779

    oklch(60.3% 0.117 172.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8371C5

    #8371C5

    oklch(60.2% 0.126 292)

  • #C05F5E

    #C05F5E

    oklch(60.2% 0.125 22.1)

  • #838718

    #838718

    oklch(60.1% 0.125 111.8)

  • #00929B

    #00929B

    oklch(60.1% 0.102 202.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8371C5 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.