#8A7EB8

Closest named color: Deep Lilac (#966EBD). oklch(62.6% 0.087 293.2), rgb(138, 126, 184).

Aa

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

About this color

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

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

Values

HEX#8A7EB8
RGBrgb(138, 126, 184)
HSLhsl(252, 29%, 61%)
OKLCHoklch(62.6% 0.087 293.2)

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 #8A7EB8 3.64:1 AA large text Lc -69.5 Content text, not long reading
Black text on #8A7EB8 5.75:1 AA Lc 40.0 Non-text elements, placeholder text
#8A7EB8 text on white 3.64:1 AA large text Lc 64.0 Content text, not long reading
#8A7EB8 text on black 5.75:1 AA Lc -37.6 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

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #D9D7E8

    oklch(88.6% 0.023 291.3)

  4. Step 300

    300

    #C1BCDA

    oklch(80.9% 0.042 293.1)

  5. Step 400

    400

    #A299C8

    oklch(70.7% 0.068 293.3)

  6. Step 500

    500 (this color)

    #8A7EB8

    oklch(62.6% 0.087 293.2)

  7. Step 600

    600

    #7668A6

    oklch(55.6% 0.095 293.4)

  8. Step 700

    700

    #63568E

    oklch(49% 0.089 293.5)

  9. Step 800

    800

    #514773

    oklch(42.7% 0.072 293.5)

  10. Step 900

    900

    #433C5D

    oklch(37.8% 0.056 293.3)

  11. Step 950

    950

    #272336

    oklch(27% 0.035 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A7EB8 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)#6F87BA0.042
Deuteranopia (no green cones)#7185B60.039
Tritanopia (no blue cones)#8088930.073
Achromatopsia (no color)#8686860.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7EB8

    #8A7EB8

    oklch(62.6% 0.087 293.2)

  • #888E4E

    #888E4E

    oklch(62.7% 0.087 113.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7EB8

    #8A7EB8

    oklch(62.6% 0.087 293.2)

  • #6C88BD

    #6C88BD

    oklch(62.7% 0.087 262.7)

  • #A276A6

    #A276A6

    oklch(62.6% 0.087 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A7EB8

    #8A7EB8

    oklch(62.6% 0.087 293.2)

  • #A18347

    #A18347

    oklch(62.5% 0.087 83.3)

  • #689665

    #689665

    oklch(62.7% 0.088 143)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7EB8

    #8A7EB8

    oklch(62.6% 0.087 293.2)

  • #B27955

    #B27955

    oklch(62.6% 0.087 52.8)

  • #489983

    #489983

    oklch(62.6% 0.087 173.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7EB8

    #8A7EB8

    oklch(62.6% 0.087 293.2)

  • #B7736F

    #B7736F

    oklch(62.7% 0.087 23.5)

  • #888E4E

    #888E4E

    oklch(62.7% 0.087 113.3)

  • #3A979F

    #3A979F

    oklch(62.5% 0.087 203.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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