#8D5EB3

Closest named color: Deep Lavender (#8D5EB7). oklch(56.8% 0.135 308.2), rgb(141, 94, 179).

Aa

White text reads best on this color (4.78:1).

About this color

#8D5EB3 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.135 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.006 away. White text reads best on it, at 4.78:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.38:1
White text4.78:1

Values

HEX#8D5EB3
RGBrgb(141, 94, 179)
HSLhsl(273, 36%, 54%)
OKLCHoklch(56.8% 0.135 308.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 #8D5EB3 4.78:1 AA Lc -78.5 Fine for body text
Black text on #8D5EB3 4.38:1 AA large text Lc 31.1 Non-text elements, placeholder text
#8D5EB3 text on white 4.78:1 AA Lc 73.0 Content text, not long reading
#8D5EB3 text on black 4.38:1 AA large text Lc -28.7 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DFD4EB

    oklch(88.6% 0.033 307.1)

  4. Step 300

    300

    #CCB7DF

    oklch(81% 0.06 308.7)

  5. Step 400

    400

    #B290CF

    oklch(70.7% 0.097 308.7)

  6. Step 500

    500

    #9F73C3

    oklch(63.1% 0.125 308.5)

  7. Step 600

    600 (this color)

    #8D5EB3

    oklch(56.8% 0.135 308.2)

  8. Step 700

    700

    #754A97

    oklch(49.2% 0.126 308.2)

  9. Step 800

    800

    #5F3D7A

    oklch(42.7% 0.104 308.3)

  10. Step 900

    900

    #4E3562

    oklch(37.8% 0.08 308.6)

  11. Step 950

    950

    #2D1F3A

    oklch(27% 0.052 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#8D5EB3 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)#4970B60.103
Deuteranopia (no green cones)#5573B10.095
Tritanopia (no blue cones)#886C800.097
Achromatopsia (no color)#7272720.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D5EB3

    #8D5EB3

    oklch(56.8% 0.135 308.2)

  • #5F851E

    #5F851E

    oklch(56.8% 0.135 128.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D5EB3

    #8D5EB3

    oklch(56.8% 0.135 308.2)

  • #666CC4

    #666CC4

    oklch(56.8% 0.134 278.3)

  • #A85492

    #A85492

    oklch(56.8% 0.134 338.1)

Open the analogous palette in the generator

Split complementary

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

  • #8D5EB3

    #8D5EB3

    oklch(56.8% 0.135 308.2)

  • #897700

    #897700

    oklch(56.9% 0.118 98.6)

  • #008D58

    #008D58

    oklch(56.7% 0.132 158.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D5EB3

    #8D5EB3

    oklch(56.8% 0.135 308.2)

  • #A66600

    #A66600

    oklch(56.8% 0.125 67.8)

  • #008982

    #008982

    oklch(56.8% 0.099 188.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D5EB3

    #8D5EB3

    oklch(56.8% 0.135 308.2)

  • #B75636

    #B75636

    oklch(56.8% 0.134 38.6)

  • #5F851E

    #5F851E

    oklch(56.8% 0.135 128.2)

  • #00849F

    #00849F

    oklch(56.7% 0.102 218.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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