#8A7BC6

Closest named color: Deep Lilac (#966EBD). oklch(62.7% 0.112 292), rgb(138, 123, 198).

Aa

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

About this color

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

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

Values

HEX#8A7BC6
RGBrgb(138, 123, 198)
HSLhsl(252, 40%, 63%)
OKLCHoklch(62.7% 0.112 292)

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 #8A7BC6 3.66:1 AA large text Lc -69.7 Content text, not long reading
Black text on #8A7BC6 5.72:1 AA Lc 39.9 Non-text elements, placeholder text
#8A7BC6 text on white 3.66:1 AA large text Lc 64.2 Content text, not long reading
#8A7BC6 text on black 5.72:1 AA Lc -37.5 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

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #D9D6EC

    oklch(88.5% 0.03 292)

  4. Step 300

    300

    #C1BBE2

    oklch(81% 0.055 292.2)

  5. Step 400

    400

    #A197D3

    oklch(70.7% 0.087 291.6)

  6. Step 500

    500 (this color)

    #8A7BC6

    oklch(62.7% 0.112 292)

  7. Step 600

    600

    #7664B4

    oklch(55.6% 0.122 292.3)

  8. Step 700

    700

    #63539B

    oklch(49.2% 0.113 291.9)

  9. Step 800

    800

    #51447D

    oklch(42.7% 0.093 292.5)

  10. Step 900

    900

    #433A65

    oklch(37.8% 0.072 292.2)

  11. Step 950

    950

    #27223B

    oklch(27% 0.046 292.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A7BC6 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)#6587C90.055
Deuteranopia (no green cones)#6784C40.052
Tritanopia (no blue cones)#7C88970.092
Achromatopsia (no color)#8585850.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7BC6

    #8A7BC6

    oklch(62.7% 0.112 292)

  • #8A8F36

    #8A8F36

    oklch(62.8% 0.112 112.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7BC6

    #8A7BC6

    oklch(62.7% 0.112 292)

  • #6387CC

    #6387CC

    oklch(62.6% 0.112 262.6)

  • #A871B0

    #A871B0

    oklch(62.8% 0.111 322.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A7BC6

    #8A7BC6

    oklch(62.7% 0.112 292)

  • #AA812C

    #AA812C

    oklch(62.8% 0.112 81.9)

  • #5F9959

    #5F9959

    oklch(62.7% 0.111 142.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7BC6

    #8A7BC6

    oklch(62.7% 0.112 292)

  • #BD7444

    #BD7444

    oklch(62.8% 0.112 52.6)

  • #269E81

    #269E81

    oklch(62.8% 0.111 172.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7BC6

    #8A7BC6

    oklch(62.7% 0.112 292)

  • #C36B69

    #C36B69

    oklch(62.7% 0.112 22.1)

  • #8A8F36

    #8A8F36

    oklch(62.8% 0.112 112.2)

  • #009BA4

    #009BA4

    oklch(62.8% 0.107 202.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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