#8A7FC0

Closest named color: Deep Lilac (#966EBD). oklch(63.2% 0.097 291.1), rgb(138, 127, 192).

Aa

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

About this color

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

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

Values

HEX#8A7FC0
RGBrgb(138, 127, 192)
HSLhsl(250, 34%, 63%)
OKLCHoklch(63.2% 0.097 291.1)

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 #8A7FC0 3.57:1 AA large text Lc -68.8 Content text, not long reading
Black text on #8A7FC0 5.87:1 AA Lc 40.8 Non-text elements, placeholder text
#8A7FC0 text on white 3.57:1 AA large text Lc 63.3 Content text, not long reading
#8A7FC0 text on black 5.87:1 AA Lc -38.4 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EA

    oklch(88.4% 0.027 292.7)

  4. Step 300

    300

    #C0BCDE

    oklch(80.9% 0.048 290.7)

  5. Step 400

    400

    #A099CD

    oklch(70.8% 0.075 290.5)

  6. Step 500

    500 (this color)

    #8A7FC0

    oklch(63.2% 0.097 291.1)

  7. Step 600

    600

    #7467AC

    oklch(55.6% 0.106 291.2)

  8. Step 700

    700

    #615694

    oklch(49.2% 0.098 290.5)

  9. Step 800

    800

    #4F4678

    oklch(42.6% 0.082 290.8)

  10. Step 900

    900

    #423B61

    oklch(37.7% 0.064 291.5)

  11. Step 950

    950

    #262339

    oklch(27% 0.04 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A7FC0 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)#6D89C30.045
Deuteranopia (no green cones)#6E86BE0.042
Tritanopia (no blue cones)#7E8A970.080
Achromatopsia (no color)#8787870.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7FC0

    #8A7FC0

    oklch(63.2% 0.097 291.1)

  • #8C8F46

    #8C8F46

    oklch(63.1% 0.096 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7FC0

    #8A7FC0

    oklch(63.2% 0.097 291.1)

  • #688AC5

    #688AC5

    oklch(63.2% 0.097 261)

  • #A576AD

    #A576AD

    oklch(63.2% 0.096 321.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A7FC0

    #8A7FC0

    oklch(63.2% 0.097 291.1)

  • #A8833F

    #A8833F

    oklch(63.2% 0.097 80.6)

  • #689861

    #689861

    oklch(63.1% 0.096 141.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7FC0

    #8A7FC0

    oklch(63.2% 0.097 291.1)

  • #B87852

    #B87852

    oklch(63.1% 0.096 51)

  • #419D82

    #419D82

    oklch(63.3% 0.097 170.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7FC0

    #8A7FC0

    oklch(63.2% 0.097 291.1)

  • #BD7170

    #BD7170

    oklch(63.1% 0.097 21)

  • #8C8F46

    #8C8F46

    oklch(63.1% 0.096 111)

  • #2A9BA2

    #2A9BA2

    oklch(63.2% 0.097 201.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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