#8771B2

Closest named color: Deep Lilac (#966EBD). oklch(59.5% 0.1 298.9), rgb(135, 113, 178).

Aa

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

About this color

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

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

Values

HEX#8771B2
RGBrgb(135, 113, 178)
HSLhsl(260, 30%, 57%)
OKLCHoklch(59.5% 0.1 298.9)

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 #8771B2 4.17:1 AA large text Lc -74.2 Content text, not long reading
Black text on #8771B2 5.03:1 AA Lc 35.4 Non-text elements, placeholder text
#8771B2 text on white 4.17:1 AA large text Lc 68.7 Content text, not long reading
#8771B2 text on black 5.03:1 AA Lc -33.0 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

    #DBD6E9

    oklch(88.6% 0.026 297.9)

  4. Step 300

    300

    #C4BADC

    oklch(80.8% 0.048 298.8)

  5. Step 400

    400

    #A796CB

    oklch(70.7% 0.078 299.1)

  6. Step 500

    500 (this color)

    #8771B2

    oklch(59.5% 0.1 298.9)

  7. Step 600

    600

    #7C64AA

    oklch(55.6% 0.108 298.6)

  8. Step 700

    700

    #695392

    oklch(49.2% 0.101 298.8)

  9. Step 800

    800

    #554476

    oklch(42.7% 0.083 298.5)

  10. Step 900

    900

    #46395F

    oklch(37.6% 0.065 299)

  11. Step 950

    950

    #292238

    oklch(27% 0.041 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#8771B2 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)#617CB50.058
Deuteranopia (no green cones)#657CB00.055
Tritanopia (no blue cones)#7F7C890.080
Achromatopsia (no color)#7C7C7C0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #8771B2

    #8771B2

    oklch(59.5% 0.1 298.9)

  • #78873E

    #78873E

    oklch(59.5% 0.1 119.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8771B2

    #8771B2

    oklch(59.5% 0.1 298.9)

  • #667CBB

    #667CBB

    oklch(59.6% 0.1 268.6)

  • #A0699C

    #A0699C

    oklch(59.7% 0.099 329.3)

Open the analogous palette in the generator

Split complementary

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

  • #8771B2

    #8771B2

    oklch(59.5% 0.1 298.9)

  • #977B2F

    #977B2F

    oklch(59.5% 0.1 88.5)

  • #518F5D

    #518F5D

    oklch(59.4% 0.1 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8771B2

    #8771B2

    oklch(59.5% 0.1 298.9)

  • #AB6F3E

    #AB6F3E

    oklch(59.5% 0.1 58.4)

  • #239280

    #239280

    oklch(59.5% 0.1 179.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8771B2

    #8771B2

    oklch(59.5% 0.1 298.9)

  • #B3675C

    #B3675C

    oklch(59.6% 0.1 29.1)

  • #78873E

    #78873E

    oklch(59.5% 0.1 119.2)

  • #118F9F

    #118F9F

    oklch(59.6% 0.1 209)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8771B2 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.