#8A7CC1

Closest named color: Deep Lilac (#966EBD). oklch(62.7% 0.103 292.5), rgb(138, 124, 193).

Aa

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

About this color

#8A7CC1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.103 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.038 away. Black text reads best on it, at 5.73:1.

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

Values

HEX#8A7CC1
RGBrgb(138, 124, 193)
HSLhsl(252, 36%, 62%)
OKLCHoklch(62.7% 0.103 292.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 #8A7CC1 3.66:1 AA large text Lc -69.6 Content text, not long reading
Black text on #8A7CC1 5.73:1 AA Lc 39.9 Non-text elements, placeholder text
#8A7CC1 text on white 3.66:1 AA large text Lc 64.2 Content text, not long reading
#8A7CC1 text on black 5.73: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

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EB

    oklch(88.5% 0.029 292.4)

  4. Step 300

    300

    #C1BBDF

    oklch(80.9% 0.051 292.9)

  5. Step 400

    400

    #A298CF

    oklch(70.8% 0.08 292.6)

  6. Step 500

    500 (this color)

    #8A7CC1

    oklch(62.7% 0.103 292.5)

  7. Step 600

    600

    #7666AF

    oklch(55.7% 0.112 292.5)

  8. Step 700

    700

    #635496

    oklch(49.1% 0.104 292.6)

  9. Step 800

    800

    #51457A

    oklch(42.7% 0.087 292.8)

  10. Step 900

    900

    #433A62

    oklch(37.6% 0.068 293.2)

  11. Step 950

    950

    #272239

    oklch(26.9% 0.042 293.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A7CC1 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)#6987C40.050
Deuteranopia (no green cones)#6A84BF0.048
Tritanopia (no blue cones)#7E88950.086
Achromatopsia (no color)#8686860.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7CC1

    #8A7CC1

    oklch(62.7% 0.103 292.5)

  • #898E3F

    #898E3F

    oklch(62.6% 0.103 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7CC1

    #8A7CC1

    oklch(62.7% 0.103 292.5)

  • #6688C7

    #6688C7

    oklch(62.8% 0.103 262.1)

  • #A672AD

    #A672AD

    oklch(62.6% 0.104 322.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A7CC1

    #8A7CC1

    oklch(62.7% 0.103 292.5)

  • #A78237

    #A78237

    oklch(62.8% 0.103 82.4)

  • #62985E

    #62985E

    oklch(62.7% 0.103 142.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7CC1

    #8A7CC1

    oklch(62.7% 0.103 292.5)

  • #B9764A

    #B9764A

    oklch(62.8% 0.103 53.1)

  • #349C82

    #349C82

    oklch(62.6% 0.103 172.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7CC1

    #8A7CC1

    oklch(62.7% 0.103 292.5)

  • #BF6E6B

    #BF6E6B

    oklch(62.7% 0.103 22.7)

  • #898E3F

    #898E3F

    oklch(62.6% 0.103 112.3)

  • #169AA3

    #169AA3

    oklch(62.7% 0.103 202.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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