#8E42DE

Closest named color: Blue Violet (#8A2BE2). oklch(55.7% 0.224 301.7), rgb(142, 66, 222).

Aa

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

About this color

#8E42DE is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.224 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.035 away. White text reads best on it, at 5.27:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.224)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.98:1
White text5.27:1

Values

HEX#8E42DE
RGBrgb(142, 66, 222)
HSLhsl(269, 70%, 56%)
OKLCHoklch(55.7% 0.224 301.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 #8E42DE 5.27:1 AA Lc -80.8 Fine for body text
Black text on #8E42DE 3.98:1 AA large text Lc 28.7 Dividers and decoration only
#8E42DE text on white 5.27:1 AA Lc 75.4 Fine for body text
#8E42DE text on black 3.98:1 AA large text Lc -26.3 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1F9

    oklch(88.5% 0.056 301.2)

  4. Step 300

    300

    #CCB1F8

    oklch(80.8% 0.102 301.6)

  5. Step 400

    400

    #B385F4

    oklch(70.6% 0.162 301.5)

  6. Step 500

    500

    #A261EF

    oklch(63.1% 0.207 301.9)

  7. Step 600

    600 (this color)

    #8E42DE

    oklch(55.7% 0.224 301.7)

  8. Step 700

    700

    #7931C0

    oklch(49.1% 0.209 302)

  9. Step 800

    800

    #622B9C

    oklch(42.7% 0.173 301.6)

  10. Step 900

    900

    #50297C

    oklch(37.8% 0.135 301.8)

  11. Step 950

    950

    #2E1948

    oklch(26.9% 0.085 301.5)

Export this scale for Tailwind in the Tailwind colors tool

#8E42DE 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)#006BE30.161
Deuteranopia (no green cones)#006BDB0.163
Tritanopia (no blue cones)#7D688C0.166
Achromatopsia (no color)#6C6C6C0.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E42DE

    #8E42DE

    oklch(55.7% 0.224 301.7)

  • #677F00

    #677F00

    oklch(55.7% 0.135 121.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E42DE

    #8E42DE

    oklch(55.7% 0.224 301.7)

  • #4B5DF4

    #4B5DF4

    oklch(55.8% 0.224 271.7)

  • #B827AD

    #B827AD

    oklch(55.7% 0.225 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #8E42DE

    #8E42DE

    oklch(55.7% 0.224 301.7)

  • #8C7000

    #8C7000

    oklch(55.6% 0.114 91.4)

  • #008B45

    #008B45

    oklch(55.8% 0.147 151.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E42DE

    #8E42DE

    oklch(55.7% 0.224 301.7)

  • #A85F00

    #A85F00

    oklch(55.8% 0.129 61.7)

  • #008678

    #008678

    oklch(55.6% 0.1 182.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E42DE

    #8E42DE

    oklch(55.7% 0.224 301.7)

  • #D42200

    #D42200

    oklch(55.8% 0.213 31.7)

  • #677F00

    #677F00

    oklch(55.7% 0.135 121.9)

  • #008294

    #008294

    oklch(55.7% 0.097 211.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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