#8D7EBA

Closest named color: Deep Lilac (#966EBD). oklch(63% 0.09 295.2), rgb(141, 126, 186).

Aa

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

About this color

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

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

Values

HEX#8D7EBA
RGBrgb(141, 126, 186)
HSLhsl(255, 30%, 61%)
OKLCHoklch(63% 0.09 295.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 #8D7EBA 3.60:1 AA large text Lc -69.1 Content text, not long reading
Black text on #8D7EBA 5.82:1 AA Lc 40.5 Non-text elements, placeholder text
#8D7EBA text on white 3.60:1 AA large text Lc 63.6 Content text, not long reading
#8D7EBA text on black 5.82:1 AA Lc -38.1 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E8

    oklch(88.5% 0.025 296.1)

  4. Step 300

    300

    #C2BBDB

    oklch(80.8% 0.045 295.4)

  5. Step 400

    400

    #A398C8

    oklch(70.6% 0.07 295.1)

  6. Step 500

    500 (this color)

    #8D7EBA

    oklch(63% 0.09 295.2)

  7. Step 600

    600

    #7867A6

    oklch(55.6% 0.097 295.5)

  8. Step 700

    700

    #65558F

    oklch(49.1% 0.092 295.5)

  9. Step 800

    800

    #524674

    oklch(42.7% 0.076 295)

  10. Step 900

    900

    #443B5E

    oklch(37.7% 0.06 295.2)

  11. Step 950

    950

    #282337

    oklch(27.1% 0.037 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#8D7EBA 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)#6F87BC0.046
Deuteranopia (no green cones)#7186B80.044
Tritanopia (no blue cones)#8488940.074
Achromatopsia (no color)#8787870.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D7EBA

    #8D7EBA

    oklch(63% 0.09 295.2)

  • #87904E

    #87904E

    oklch(63.1% 0.09 115.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D7EBA

    #8D7EBA

    oklch(63% 0.09 295.2)

  • #6F88C0

    #6F88C0

    oklch(63% 0.09 265.5)

  • #A576A7

    #A576A7

    oklch(63% 0.09 325.2)

Open the analogous palette in the generator

Split complementary

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

  • #8D7EBA

    #8D7EBA

    oklch(63% 0.09 295.2)

  • #A28545

    #A28545

    oklch(63% 0.09 85.3)

  • #659867

    #659867

    oklch(63% 0.091 145.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D7EBA

    #8D7EBA

    oklch(63% 0.09 295.2)

  • #B37A52

    #B37A52

    oklch(62.9% 0.09 55.4)

  • #449B86

    #449B86

    oklch(63% 0.09 175)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D7EBA

    #8D7EBA

    oklch(63% 0.09 295.2)

  • #B9736D

    #B9736D

    oklch(62.9% 0.09 25.2)

  • #87904E

    #87904E

    oklch(63.1% 0.09 115.4)

  • #3799A3

    #3799A3

    oklch(63.1% 0.09 204.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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