#8A7FC2

Closest named color: Deep Lilac (#966EBD). oklch(63.3% 0.1 290.8), rgb(138, 127, 194).

Aa

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

About this color

#8A7FC2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.100 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.89:1.

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

Values

HEX#8A7FC2
RGBrgb(138, 127, 194)
HSLhsl(250, 35%, 63%)
OKLCHoklch(63.3% 0.1 290.8)

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 #8A7FC2 3.56:1 AA large text Lc -68.6 Content text, not long reading
Black text on #8A7FC2 5.89:1 AA Lc 40.9 Non-text elements, placeholder text
#8A7FC2 text on white 3.56:1 AA large text Lc 63.2 Content text, not long reading
#8A7FC2 text on black 5.89:1 AA Lc -38.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

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  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

    #A098CE

    oklch(70.6% 0.078 291)

  6. Step 500

    500 (this color)

    #8A7FC2

    oklch(63.3% 0.1 290.8)

  7. Step 600

    600

    #7467AE

    oklch(55.7% 0.108 290.9)

  8. Step 700

    700

    #615595

    oklch(49% 0.101 290.8)

  9. Step 800

    800

    #4F4679

    oklch(42.7% 0.083 290.5)

  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

#8A7FC2 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)#6D89C50.044
Deuteranopia (no green cones)#6D86C00.043
Tritanopia (no blue cones)#7D8B980.084
Achromatopsia (no color)#8888880.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7FC2

    #8A7FC2

    oklch(63.3% 0.1 290.8)

  • #8D9043

    #8D9043

    oklch(63.4% 0.101 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7FC2

    #8A7FC2

    oklch(63.3% 0.1 290.8)

  • #678AC6

    #678AC6

    oklch(63.2% 0.099 260.8)

  • #A576AF

    #A576AF

    oklch(63.3% 0.099 320.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A7FC2

    #8A7FC2

    oklch(63.3% 0.1 290.8)

  • #A9833D

    #A9833D

    oklch(63.3% 0.099 80.5)

  • #68995F

    #68995F

    oklch(63.3% 0.099 140.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7FC2

    #8A7FC2

    oklch(63.3% 0.1 290.8)

  • #BA7850

    #BA7850

    oklch(63.3% 0.099 51.3)

  • #3E9D82

    #3E9D82

    oklch(63.2% 0.099 171.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7FC2

    #8A7FC2

    oklch(63.3% 0.1 290.8)

  • #BF7170

    #BF7170

    oklch(63.4% 0.099 21)

  • #8D9043

    #8D9043

    oklch(63.4% 0.101 111)

  • #249CA3

    #249CA3

    oklch(63.4% 0.1 201)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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