#8A71B4

Closest named color: Deep Lilac (#966EBD). oklch(59.9% 0.103 300.5), rgb(138, 113, 180).

Aa

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

About this color

#8A71B4 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.103 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.026 away. Black text reads best on it, at 5.10:1.

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

Values

HEX#8A71B4
RGBrgb(138, 113, 180)
HSLhsl(262, 31%, 57%)
OKLCHoklch(59.9% 0.103 300.5)

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 #8A71B4 4.11:1 AA large text Lc -73.7 Content text, not long reading
Black text on #8A71B4 5.10:1 AA Lc 35.9 Non-text elements, placeholder text
#8A71B4 text on white 4.11:1 AA large text Lc 68.2 Content text, not long reading
#8A71B4 text on black 5.10:1 AA Lc -33.4 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

    #C5BADD

    oklch(80.9% 0.05 299.6)

  5. Step 400

    400

    #A895CC

    oklch(70.6% 0.082 300.2)

  6. Step 500

    500 (this color)

    #8A71B4

    oklch(59.9% 0.103 300.5)

  7. Step 600

    600

    #7E63AA

    oklch(55.6% 0.111 300.4)

  8. Step 700

    700

    #6B5192

    oklch(49.1% 0.104 301.1)

  9. Step 800

    800

    #574377

    oklch(42.8% 0.086 300.5)

  10. Step 900

    900

    #473960

    oklch(37.7% 0.067 299.7)

  11. Step 950

    950

    #2A2138

    oklch(26.9% 0.043 301.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A71B4 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)#617DB70.063
Deuteranopia (no green cones)#657DB20.060
Tritanopia (no blue cones)#827C8A0.081
Achromatopsia (no color)#7D7D7D0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A71B4

    #8A71B4

    oklch(59.9% 0.103 300.5)

  • #78893E

    #78893E

    oklch(60% 0.103 120.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A71B4

    #8A71B4

    oklch(59.9% 0.103 300.5)

  • #697CBE

    #697CBE

    oklch(59.9% 0.103 270.8)

  • #A3689D

    #A3689D

    oklch(59.9% 0.104 330.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A71B4

    #8A71B4

    oklch(59.9% 0.103 300.5)

  • #977D2C

    #977D2C

    oklch(59.9% 0.103 90.9)

  • #4E915F

    #4E915F

    oklch(59.9% 0.103 150.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A71B4

    #8A71B4

    oklch(59.9% 0.103 300.5)

  • #AC703B

    #AC703B

    oklch(59.8% 0.103 60.3)

  • #1A9483

    #1A9483

    oklch(60% 0.103 180.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A71B4

    #8A71B4

    oklch(59.9% 0.103 300.5)

  • #B5675A

    #B5675A

    oklch(59.9% 0.103 30.4)

  • #78893E

    #78893E

    oklch(60% 0.103 120.2)

  • #0590A2

    #0590A2

    oklch(59.9% 0.103 210.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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