#8D71B0

Closest named color: Deep Lilac (#966EBD). oklch(60% 0.098 304), rgb(141, 113, 176).

Aa

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

About this color

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

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

Values

HEX#8D71B0
RGBrgb(141, 113, 176)
HSLhsl(267, 29%, 57%)
OKLCHoklch(60% 0.098 304)

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 #8D71B0 4.10:1 AA large text Lc -73.6 Content text, not long reading
Black text on #8D71B0 5.12:1 AA Lc 36.0 Non-text elements, placeholder text
#8D71B0 text on white 4.10:1 AA large text Lc 68.1 Content text, not long reading
#8D71B0 text on black 5.12:1 AA Lc -33.6 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE8F2

    oklch(93.7% 0.014 304.1)

  3. Step 200

    200

    #DDD5E8

    oklch(88.5% 0.027 304.8)

  4. Step 300

    300

    #C7B9DA

    oklch(80.8% 0.048 304.6)

  5. Step 400

    400

    #AB95C8

    oklch(70.7% 0.077 304.2)

  6. Step 500

    500 (this color)

    #8D71B0

    oklch(60% 0.098 304)

  7. Step 600

    600

    #8162A6

    oklch(55.5% 0.108 304.1)

  8. Step 700

    700

    #6D518E

    oklch(49% 0.099 304.1)

  9. Step 800

    800

    #594373

    oklch(42.7% 0.081 304.3)

  10. Step 900

    900

    #49395D

    oklch(37.8% 0.063 304)

  11. Step 950

    950

    #2B2137

    oklch(27% 0.042 304.6)

Export this scale for Tailwind in the Tailwind colors tool

#8D71B0 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)#637DB20.065
Deuteranopia (no green cones)#697DAE0.060
Tritanopia (no blue cones)#877B880.076
Achromatopsia (no color)#7D7D7D0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D71B0

    #8D71B0

    oklch(60% 0.098 304)

  • #748A45

    #748A45

    oklch(60% 0.098 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D71B0

    #8D71B0

    oklch(60% 0.098 304)

  • #6E7BBB

    #6E7BBB

    oklch(59.9% 0.099 274.3)

  • #A46998

    #A46998

    oklch(60% 0.098 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #8D71B0

    #8D71B0

    oklch(60% 0.098 304)

  • #947F33

    #947F33

    oklch(60.1% 0.098 93.7)

  • #4C9165

    #4C9165

    oklch(59.9% 0.098 154.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D71B0

    #8D71B0

    oklch(60% 0.098 304)

  • #A9733D

    #A9733D

    oklch(60.1% 0.098 64)

  • #219387

    #219387

    oklch(60% 0.098 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D71B0

    #8D71B0

    oklch(60% 0.098 304)

  • #B36A58

    #B36A58

    oklch(60.1% 0.098 34.7)

  • #748A45

    #748A45

    oklch(60% 0.098 123.9)

  • #1F8FA4

    #1F8FA4

    oklch(60% 0.098 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8D71B0 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.