#8A71C9

Closest named color: Deep Lilac (#966EBD). oklch(61% 0.132 295.3), rgb(138, 113, 201).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.28:1
White text3.97:1

Values

HEX#8A71C9
RGBrgb(138, 113, 201)
HSLhsl(257, 45%, 62%)
OKLCHoklch(61% 0.132 295.3)

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 #8A71C9 3.97:1 AA large text Lc -72.4 Content text, not long reading
Black text on #8A71C9 5.28:1 AA Lc 37.1 Non-text elements, placeholder text
#8A71C9 text on white 3.97:1 AA large text Lc 66.9 Content text, not long reading
#8A71C9 text on black 5.28:1 AA Lc -34.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EF

    oklch(88.5% 0.036 294.5)

  4. Step 300

    300

    #C3B9E6

    oklch(80.9% 0.064 295.1)

  5. Step 400

    400

    #A593DA

    oklch(70.6% 0.104 295.3)

  6. Step 500

    500 (this color)

    #8A71C9

    oklch(61% 0.132 295.3)

  7. Step 600

    600

    #7B5EBD

    oklch(55.5% 0.144 295.4)

  8. Step 700

    700

    #684DA3

    oklch(49% 0.134 295.5)

  9. Step 800

    800

    #554084

    oklch(42.8% 0.11 295.6)

  10. Step 900

    900

    #46376A

    oklch(37.8% 0.086 295.6)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A71C9 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)#5680CC0.075
Deuteranopia (no green cones)#5A7EC70.071
Tritanopia (no blue cones)#7C81930.106
Achromatopsia (no color)#8080800.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A71C9

    #8A71C9

    oklch(61% 0.132 295.3)

  • #818C17

    #818C17

    oklch(61.1% 0.132 115.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A71C9

    #8A71C9

    oklch(61% 0.132 295.3)

  • #5D80D2

    #5D80D2

    oklch(61.1% 0.131 265.3)

  • #AA65AE

    #AA65AE

    oklch(61% 0.131 325.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A71C9

    #8A71C9

    oklch(61% 0.132 295.3)

  • #A57C00

    #A57C00

    oklch(61% 0.125 85.3)

  • #49974F

    #49974F

    oklch(60.9% 0.131 145.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A71C9

    #8A71C9

    oklch(61% 0.132 295.3)

  • #BE6B27

    #BE6B27

    oklch(61.1% 0.132 55.4)

  • #009980

    #009980

    oklch(61% 0.114 175.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A71C9

    #8A71C9

    oklch(61% 0.132 295.3)

  • #C66059

    #C66059

    oklch(61.1% 0.132 25.7)

  • #818C17

    #818C17

    oklch(61.1% 0.132 115.3)

  • #0095A1

    #0095A1

    oklch(61.1% 0.104 204.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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