#8A7AB7

Closest named color: Deep Lilac (#966EBD). oklch(61.8% 0.092 295.6), rgb(138, 122, 183).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.54:1
White text3.78:1

Values

HEX#8A7AB7
RGBrgb(138, 122, 183)
HSLhsl(256, 30%, 60%)
OKLCHoklch(61.8% 0.092 295.6)

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 #8A7AB7 3.78:1 AA large text Lc -70.8 Content text, not long reading
Black text on #8A7AB7 5.54:1 AA Lc 38.7 Non-text elements, placeholder text
#8A7AB7 text on white 3.78:1 AA large text Lc 65.3 Content text, not long reading
#8A7AB7 text on black 5.54:1 AA Lc -36.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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E8

    oklch(88.5% 0.025 296.1)

  4. Step 300

    300

    #C2BBDB

    oklch(80.8% 0.045 295.4)

  5. Step 400

    400

    #A498C9

    oklch(70.7% 0.072 295.7)

  6. Step 500

    500 (this color)

    #8A7AB7

    oklch(61.8% 0.092 295.6)

  7. Step 600

    600

    #7866A7

    oklch(55.5% 0.1 295.7)

  8. Step 700

    700

    #65558F

    oklch(49.1% 0.092 295.5)

  9. Step 800

    800

    #534674

    oklch(42.8% 0.076 296)

  10. Step 900

    900

    #443B5E

    oklch(37.7% 0.06 295.2)

  11. Step 950

    950

    #282337

    oklch(27.1% 0.037 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A7AB7 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)#6B84B90.048
Deuteranopia (no green cones)#6D82B50.045
Tritanopia (no blue cones)#8184900.075
Achromatopsia (no color)#8383830.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7AB7

    #8A7AB7

    oklch(61.8% 0.092 295.6)

  • #838C49

    #838C49

    oklch(61.7% 0.091 115.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7AB7

    #8A7AB7

    oklch(61.8% 0.092 295.6)

  • #6B84BD

    #6B84BD

    oklch(61.7% 0.092 265.7)

  • #A272A4

    #A272A4

    oklch(61.8% 0.092 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A7AB7

    #8A7AB7

    oklch(61.8% 0.092 295.6)

  • #9E813F

    #9E813F

    oklch(61.7% 0.092 85.8)

  • #609463

    #609463

    oklch(61.7% 0.092 145.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7AB7

    #8A7AB7

    oklch(61.8% 0.092 295.6)

  • #B0764D

    #B0764D

    oklch(61.7% 0.092 55.4)

  • #3D9883

    #3D9883

    oklch(61.9% 0.092 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7AB7

    #8A7AB7

    oklch(61.8% 0.092 295.6)

  • #B76F69

    #B76F69

    oklch(61.8% 0.093 25.2)

  • #838C49

    #838C49

    oklch(61.7% 0.091 115.4)

  • #2F95A0

    #2F95A0

    oklch(61.7% 0.092 205.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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