#8A71B2

Closest named color: Deep Lilac (#966EBD). oklch(59.8% 0.1 301.1), rgb(138, 113, 178).

Aa

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

About this color

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

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

Values

HEX#8A71B2
RGBrgb(138, 113, 178)
HSLhsl(263, 30%, 57%)
OKLCHoklch(59.8% 0.1 301.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 #8A71B2 4.12:1 AA large text Lc -73.8 Content text, not long reading
Black text on #8A71B2 5.08:1 AA Lc 35.8 Non-text elements, placeholder text
#8A71B2 text on white 4.12:1 AA large text Lc 68.3 Content text, not long reading
#8A71B2 text on black 5.08:1 AA Lc -33.3 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

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DCD5E9

    oklch(88.5% 0.028 301.7)

  4. Step 300

    300

    #C6BADC

    oklch(81% 0.049 301.4)

  5. Step 400

    400

    #A995CA

    oklch(70.6% 0.079 301.7)

  6. Step 500

    500 (this color)

    #8A71B2

    oklch(59.8% 0.1 301.1)

  7. Step 600

    600

    #7E63A9

    oklch(55.6% 0.109 300.7)

  8. Step 700

    700

    #6B5291

    oklch(49.2% 0.101 301.1)

  9. Step 800

    800

    #574375

    oklch(42.6% 0.084 301.4)

  10. Step 900

    900

    #48395F

    oklch(37.8% 0.066 301.5)

  11. Step 950

    950

    #2A2237

    oklch(27.1% 0.04 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A71B2 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)#627CB50.061
Deuteranopia (no green cones)#667DB00.059
Tritanopia (no blue cones)#837B890.078
Achromatopsia (no color)#7D7D7D0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A71B2

    #8A71B2

    oklch(59.8% 0.1 301.1)

  • #778940

    #778940

    oklch(59.9% 0.101 121)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A71B2

    #8A71B2

    oklch(59.8% 0.1 301.1)

  • #6A7CBC

    #6A7CBC

    oklch(59.9% 0.1 271.2)

  • #A2699B

    #A2699B

    oklch(59.9% 0.1 331.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A71B2

    #8A71B2

    oklch(59.8% 0.1 301.1)

  • #967D30

    #967D30

    oklch(59.8% 0.1 90.9)

  • #4F9160

    #4F9160

    oklch(59.9% 0.101 150.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A71B2

    #8A71B2

    oklch(59.8% 0.1 301.1)

  • #AB713C

    #AB713C

    oklch(59.9% 0.101 61.3)

  • #209383

    #209383

    oklch(59.8% 0.1 180.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A71B2

    #8A71B2

    oklch(59.8% 0.1 301.1)

  • #B4685A

    #B4685A

    oklch(59.9% 0.101 31.3)

  • #778940

    #778940

    oklch(59.9% 0.101 121)

  • #148FA2

    #148FA2

    oklch(59.8% 0.1 211.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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