#8E57BA

Closest named color: Deep Lavender (#8D5EB7). oklch(56.1% 0.155 307.8), rgb(142, 87, 186).

Aa

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

About this color

#8E57BA is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.155 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.018 away. White text reads best on it, at 4.97:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.155)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.22:1
White text4.97:1

Values

HEX#8E57BA
RGBrgb(142, 87, 186)
HSLhsl(273, 42%, 54%)
OKLCHoklch(56.1% 0.155 307.8)

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 #8E57BA 4.97:1 AA Lc -79.5 Fine for body text
Black text on #8E57BA 4.22:1 AA large text Lc 30.0 Dividers and decoration only
#8E57BA text on white 4.97:1 AA Lc 74.1 Content text, not long reading
#8E57BA text on black 4.22:1 AA large text Lc -27.6 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

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #E0D3ED

    oklch(88.5% 0.038 308)

  4. Step 300

    300

    #CDB5E4

    oklch(80.9% 0.07 308)

  5. Step 400

    400

    #B48DD6

    oklch(70.7% 0.112 308.2)

  6. Step 500

    500

    #A16FCB

    oklch(63% 0.143 307.9)

  7. Step 600

    600 (this color)

    #8E57BA

    oklch(56.1% 0.155 307.8)

  8. Step 700

    700

    #77459F

    oklch(49.1% 0.145 307.6)

  9. Step 800

    800

    #613981

    oklch(42.7% 0.121 307.7)

  10. Step 900

    900

    #4F3267

    oklch(37.7% 0.093 307.8)

  11. Step 950

    950

    #2E1E3C

    oklch(27% 0.058 307.5)

Export this scale for Tailwind in the Tailwind colors tool

#8E57BA 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)#396EBD0.125
Deuteranopia (no green cones)#4B70B80.111
Tritanopia (no blue cones)#8869800.112
Achromatopsia (no color)#7070700.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E57BA

    #8E57BA

    oklch(56.1% 0.155 307.8)

  • #5C8400

    #5C8400

    oklch(56.2% 0.147 127.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E57BA

    #8E57BA

    oklch(56.1% 0.155 307.8)

  • #6267CE

    #6267CE

    oklch(56.2% 0.156 278)

  • #AC4A94

    #AC4A94

    oklch(56.1% 0.156 338)

Open the analogous palette in the generator

Split complementary

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

  • #8E57BA

    #8E57BA

    oklch(56.1% 0.155 307.8)

  • #877500

    #877500

    oklch(56.2% 0.116 98.5)

  • #008B56

    #008B56

    oklch(56.1% 0.131 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E57BA

    #8E57BA

    oklch(56.1% 0.155 307.8)

  • #A46400

    #A46400

    oklch(56.1% 0.124 67.2)

  • #00877F

    #00877F

    oklch(56.2% 0.098 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E57BA

    #8E57BA

    oklch(56.1% 0.155 307.8)

  • #BE4C27

    #BE4C27

    oklch(56.2% 0.155 37.8)

  • #5C8400

    #5C8400

    oklch(56.2% 0.147 127.8)

  • #00839C

    #00839C

    oklch(56.3% 0.101 217.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8E57BA.

Similar named colors

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

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