#8A7EBF

Closest named color: Deep Lilac (#966EBD). oklch(63% 0.097 291.8), rgb(138, 126, 191).

Aa

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

About this color

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

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

Values

HEX#8A7EBF
RGBrgb(138, 126, 191)
HSLhsl(251, 34%, 62%)
OKLCHoklch(63% 0.097 291.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 #8A7EBF 3.60:1 AA large text Lc -69.1 Content text, not long reading
Black text on #8A7EBF 5.81:1 AA Lc 40.4 Non-text elements, placeholder text
#8A7EBF text on white 3.60:1 AA large text Lc 63.6 Content text, not long reading
#8A7EBF text on black 5.81:1 AA Lc -38.0 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

    #C0BCDD

    oklch(80.9% 0.046 290.9)

  5. Step 400

    400

    #A198CD

    oklch(70.6% 0.077 292.1)

  6. Step 500

    500 (this color)

    #8A7EBF

    oklch(63% 0.097 291.8)

  7. Step 600

    600

    #7567AC

    oklch(55.7% 0.106 291.9)

  8. Step 700

    700

    #625593

    oklch(49% 0.098 292)

  9. Step 800

    800

    #504678

    oklch(42.7% 0.082 291.7)

  10. Step 900

    900

    #423B60

    oklch(37.6% 0.063 291.8)

  11. Step 950

    950

    #272338

    oklch(27.1% 0.039 292.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A7EBF 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)#6D88C20.045
Deuteranopia (no green cones)#6D85BD0.043
Tritanopia (no blue cones)#7E89960.080
Achromatopsia (no color)#8787870.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7EBF

    #8A7EBF

    oklch(63% 0.097 291.8)

  • #8B8F46

    #8B8F46

    oklch(63% 0.097 111.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7EBF

    #8A7EBF

    oklch(63% 0.097 291.8)

  • #6889C4

    #6889C4

    oklch(63% 0.097 261.6)

  • #A575AC

    #A575AC

    oklch(63% 0.097 322.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A7EBF

    #8A7EBF

    oklch(63% 0.097 291.8)

  • #A6833E

    #A6833E

    oklch(62.9% 0.097 82.3)

  • #669861

    #669861

    oklch(63% 0.097 142.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7EBF

    #8A7EBF

    oklch(63% 0.097 291.8)

  • #B77850

    #B77850

    oklch(63% 0.096 52.6)

  • #3F9C82

    #3F9C82

    oklch(63% 0.097 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7EBF

    #8A7EBF

    oklch(63% 0.097 291.8)

  • #BD716E

    #BD716E

    oklch(63.1% 0.097 22.6)

  • #8B8F46

    #8B8F46

    oklch(63% 0.097 111.7)

  • #299AA2

    #299AA2

    oklch(62.9% 0.097 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 #8A7EBF, closest first.

Similar named colors

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

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