#8A71C1

Closest named color: Deep Lilac (#966EBD). oklch(60.6% 0.121 297.1), rgb(138, 113, 193).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.21:1
White text4.02:1

Values

HEX#8A71C1
RGBrgb(138, 113, 193)
HSLhsl(259, 39%, 60%)
OKLCHoklch(60.6% 0.121 297.1)

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 #8A71C1 4.02:1 AA large text Lc -72.9 Content text, not long reading
Black text on #8A71C1 5.21:1 AA Lc 36.6 Non-text elements, placeholder text
#8A71C1 text on white 4.02:1 AA large text Lc 67.4 Content text, not long reading
#8A71C1 text on black 5.21:1 AA Lc -34.2 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F4

    oklch(93.7% 0.016 297.5)

  3. Step 200

    200

    #DBD5ED

    oklch(88.5% 0.033 297.2)

  4. Step 300

    300

    #C4B9E3

    oklch(80.9% 0.06 297)

  5. Step 400

    400

    #A794D5

    oklch(70.7% 0.095 297.3)

  6. Step 500

    500 (this color)

    #8A71C1

    oklch(60.6% 0.121 297.1)

  7. Step 600

    600

    #7C60B6

    oklch(55.6% 0.132 296.9)

  8. Step 700

    700

    #694F9D

    oklch(49.1% 0.123 297)

  9. Step 800

    800

    #55417F

    oklch(42.6% 0.101 296.8)

  10. Step 900

    900

    #463866

    oklch(37.8% 0.078 296.5)

  11. Step 950

    950

    #29213C

    oklch(27.1% 0.05 296.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A71C1 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)#5A7FC40.071
Deuteranopia (no green cones)#5F7EBF0.066
Tritanopia (no blue cones)#7F7F900.096
Achromatopsia (no color)#7F7F7F0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A71C1

    #8A71C1

    oklch(60.6% 0.121 297.1)

  • #7D8B2A

    #7D8B2A

    oklch(60.6% 0.121 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A71C1

    #8A71C1

    oklch(60.6% 0.121 297.1)

  • #617ECA

    #617ECA

    oklch(60.5% 0.121 267)

  • #A866A7

    #A866A7

    oklch(60.6% 0.121 327.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A71C1

    #8A71C1

    oklch(60.6% 0.121 297.1)

  • #A17C0D

    #A17C0D

    oklch(60.6% 0.121 86.9)

  • #4B9556

    #4B9556

    oklch(60.6% 0.12 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A71C1

    #8A71C1

    oklch(60.6% 0.121 297.1)

  • #B76D2F

    #B76D2F

    oklch(60.5% 0.121 57.2)

  • #009781

    #009781

    oklch(60.5% 0.112 177.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A71C1

    #8A71C1

    oklch(60.6% 0.121 297.1)

  • #C0635A

    #C0635A

    oklch(60.7% 0.121 26.9)

  • #7D8B2A

    #7D8B2A

    oklch(60.6% 0.121 117.2)

  • #0093A1

    #0093A1

    oklch(60.6% 0.104 206.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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