#8A7FC6

Closest named color: Deep Lilac (#966EBD). oklch(63.5% 0.105 290.2), rgb(138, 127, 198).

Aa

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

About this color

#8A7FC6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.105 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.044 away. Black text reads best on it, at 5.93:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.93:1
White text3.54:1

Values

HEX#8A7FC6
RGBrgb(138, 127, 198)
HSLhsl(249, 38%, 64%)
OKLCHoklch(63.5% 0.105 290.2)

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 #8A7FC6 3.54:1 AA large text Lc -68.4 Content text, not long reading
Black text on #8A7FC6 5.93:1 AA Lc 41.1 Non-text elements, placeholder text
#8A7FC6 text on white 3.54:1 AA large text Lc 62.9 Content text, not long reading
#8A7FC6 text on black 5.93:1 AA Lc -38.8 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D8D6EB

    oklch(88.4% 0.029 290.2)

  4. Step 300

    300

    #C0BCE0

    oklch(81% 0.05 290.3)

  5. Step 400

    400

    #A098D1

    oklch(70.7% 0.083 290.6)

  6. Step 500

    500 (this color)

    #8A7FC6

    oklch(63.5% 0.105 290.2)

  7. Step 600

    600

    #7366B1

    oklch(55.6% 0.114 290.1)

  8. Step 700

    700

    #615598

    oklch(49.2% 0.105 290.2)

  9. Step 800

    800

    #4F457C

    oklch(42.7% 0.09 290.4)

  10. Step 900

    900

    #413B63

    oklch(37.7% 0.067 289.6)

  11. Step 950

    950

    #26233A

    oklch(27.1% 0.042 289.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A7FC6 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)#6B89C90.046
Deuteranopia (no green cones)#6B87C40.046
Tritanopia (no blue cones)#7C8C990.089
Achromatopsia (no color)#8888880.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7FC6

    #8A7FC6

    oklch(63.5% 0.105 290.2)

  • #8E903E

    #8E903E

    oklch(63.4% 0.105 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7FC6

    #8A7FC6

    oklch(63.5% 0.105 290.2)

  • #658BCA

    #658BCA

    oklch(63.5% 0.105 260.2)

  • #A775B2

    #A775B2

    oklch(63.5% 0.105 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A7FC6

    #8A7FC6

    oklch(63.5% 0.105 290.2)

  • #AC8337

    #AC8337

    oklch(63.5% 0.106 80.1)

  • #679A5C

    #679A5C

    oklch(63.4% 0.105 140.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7FC6

    #8A7FC6

    oklch(63.5% 0.105 290.2)

  • #BE774D

    #BE774D

    oklch(63.6% 0.106 50.5)

  • #389F81

    #389F81

    oklch(63.5% 0.105 170.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7FC6

    #8A7FC6

    oklch(63.5% 0.105 290.2)

  • #C26F70

    #C26F70

    oklch(63.4% 0.105 19.7)

  • #8E903E

    #8E903E

    oklch(63.4% 0.105 110.3)

  • #119DA4

    #119DA4

    oklch(63.4% 0.105 200.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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