#8D5FA2

Closest named color: Dark Lavender (#856798). oklch(56.1% 0.112 314.7), rgb(141, 95, 162).

Aa

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

About this color

#8D5FA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.112 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.031 away. White text reads best on it, at 4.89:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.29:1
White text4.89:1

Values

HEX#8D5FA2
RGBrgb(141, 95, 162)
HSLhsl(281, 26%, 50%)
OKLCHoklch(56.1% 0.112 314.7)

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 #8D5FA2 4.89:1 AA Lc -79.2 Fine for body text
Black text on #8D5FA2 4.29:1 AA large text Lc 30.3 Non-text elements, placeholder text
#8D5FA2 text on white 4.89:1 AA Lc 73.8 Content text, not long reading
#8D5FA2 text on black 4.29:1 AA large text Lc -27.9 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E0D4E6

    oklch(88.5% 0.028 314.7)

  4. Step 300

    300

    #CDB7D8

    oklch(80.8% 0.052 314.5)

  5. Step 400

    400

    #B492C4

    oklch(70.8% 0.081 314.8)

  6. Step 500

    500

    #A176B5

    oklch(63.2% 0.104 314.7)

  7. Step 600

    600 (this color)

    #8D5FA2

    oklch(56.1% 0.112 314.7)

  8. Step 700

    700

    #774D89

    oklch(49.1% 0.104 315.2)

  9. Step 800

    800

    #603F70

    oklch(42.6% 0.088 314)

  10. Step 900

    900

    #4F365A

    oklch(37.7% 0.067 315.1)

  11. Step 950

    950

    #2E2035

    oklch(27% 0.043 314)

Export this scale for Tailwind in the Tailwind colors tool

#8D5FA2 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)#536EA40.092
Deuteranopia (no green cones)#5F72A00.084
Tritanopia (no blue cones)#8C68790.076
Achromatopsia (no color)#7171710.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D5FA2

    #8D5FA2

    oklch(56.1% 0.112 314.7)

  • #57833B

    #57833B

    oklch(56.1% 0.113 134.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D5FA2

    #8D5FA2

    oklch(56.1% 0.112 314.7)

  • #6E6AB4

    #6E6AB4

    oklch(56.1% 0.113 284.6)

  • #A25884

    #A25884

    oklch(56.1% 0.112 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #8D5FA2

    #8D5FA2

    oklch(56.1% 0.112 314.7)

  • #7F7714

    #7F7714

    oklch(55.9% 0.112 104.5)

  • #178963

    #178963

    oklch(56.1% 0.113 164.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D5FA2

    #8D5FA2

    oklch(56.1% 0.112 314.7)

  • #9B6913

    #9B6913

    oklch(56% 0.112 74.2)

  • #008686

    #008686

    oklch(56.1% 0.096 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D5FA2

    #8D5FA2

    oklch(56.1% 0.112 314.7)

  • #AA5D39

    #AA5D39

    oklch(56.1% 0.112 44.8)

  • #57833B

    #57833B

    oklch(56.1% 0.113 134.7)

  • #0081A3

    #0081A3

    oklch(56.1% 0.106 224.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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