#8F5BA1

Closest named color: Deep Lavender (#8D5EB7). oklch(55.5% 0.119 317), rgb(143, 91, 161).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.17:1
White text5.02:1

Values

HEX#8F5BA1
RGBrgb(143, 91, 161)
HSLhsl(285, 28%, 49%)
OKLCHoklch(55.5% 0.119 317)

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 #8F5BA1 5.02:1 AA Lc -79.9 Fine for body text
Black text on #8F5BA1 4.17:1 AA large text Lc 29.5 Dividers and decoration only
#8F5BA1 text on white 5.02:1 AA Lc 74.5 Content text, not long reading
#8F5BA1 text on black 4.17:1 AA large text Lc -27.2 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

    #E1D3E6

    oklch(88.4% 0.03 317.2)

  4. Step 300

    300

    #CFB6D8

    oklch(80.8% 0.054 317.1)

  5. Step 400

    400

    #B790C4

    oklch(70.7% 0.086 317.6)

  6. Step 500

    500

    #A474B5

    oklch(63.1% 0.109 317)

  7. Step 600

    600 (this color)

    #8F5BA1

    oklch(55.5% 0.119 317)

  8. Step 700

    700

    #7A4B8A

    oklch(49.2% 0.111 317.1)

  9. Step 800

    800

    #633E70

    oklch(42.8% 0.091 316.9)

  10. Step 900

    900

    #51355B

    oklch(37.8% 0.072 316.8)

  11. Step 950

    950

    #2F1F35

    oklch(26.9% 0.045 316.5)

Export this scale for Tailwind in the Tailwind colors tool

#8F5BA1 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)#4F6CA40.102
Deuteranopia (no green cones)#5D719F0.093
Tritanopia (no blue cones)#8F64760.078
Achromatopsia (no color)#6F6F6F0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F5BA1

    #8F5BA1

    oklch(55.5% 0.119 317)

  • #4F8339

    #4F8339

    oklch(55.6% 0.12 137.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F5BA1

    #8F5BA1

    oklch(55.5% 0.119 317)

  • #6F66B5

    #6F66B5

    oklch(55.4% 0.12 287)

  • #A45381

    #A45381

    oklch(55.5% 0.12 346.6)

Open the analogous palette in the generator

Split complementary

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

  • #8F5BA1

    #8F5BA1

    oklch(55.5% 0.119 317)

  • #7C7700

    #7C7700

    oklch(55.6% 0.119 106.8)

  • #008865

    #008865

    oklch(55.6% 0.114 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F5BA1

    #8F5BA1

    oklch(55.5% 0.119 317)

  • #996800

    #996800

    oklch(55.5% 0.116 76.4)

  • #008486

    #008486

    oklch(55.6% 0.095 196.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F5BA1

    #8F5BA1

    oklch(55.5% 0.119 317)

  • #AA5A2F

    #AA5A2F

    oklch(55.5% 0.119 47)

  • #4F8339

    #4F8339

    oklch(55.6% 0.12 137.3)

  • #007FA4

    #007FA4

    oklch(55.6% 0.108 227.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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