#8E20FF

Closest named color: Vivid Purple (#9900FA). oklch(55.7% 0.284 297.7), rgb(142, 32, 255).

Aa

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

About this color

#8E20FF is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.284 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vivid Purple (#9900FA), ΔE 0.027 away. White text reads best on it, at 5.52:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.284)
Temperaturein between
Nearest nameVivid Purple (#9900FA)
Black text3.80:1
White text5.52:1

Values

HEX#8E20FF
RGBrgb(142, 32, 255)
HSLhsl(270, 100%, 56%)
OKLCHoklch(55.7% 0.284 297.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 #8E20FF 5.52:1 AA Lc -81.1 Fine for body text
Black text on #8E20FF 3.80:1 AA large text Lc 28.3 Dividers and decoration only
#8E20FF text on white 5.52:1 AA Lc 75.8 Fine for body text
#8E20FF text on black 3.80:1 AA large text Lc -25.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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE5FF

    oklch(93.5% 0.036 298)

  3. Step 200

    200

    #DDD1FF

    oklch(88.5% 0.064 297)

  4. Step 300

    300

    #C9B1FF

    oklch(80.9% 0.111 298)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500

    #9D5DFF

    oklch(63.1% 0.229 297.6)

  7. Step 600

    600 (this color)

    #8E20FF

    oklch(55.7% 0.284 297.7)

  8. Step 700

    700

    #7903DE

    oklch(49.1% 0.264 297.7)

  9. Step 800

    800

    #6212B3

    oklch(42.6% 0.218 297.8)

  10. Step 900

    900

    #4F1D8E

    oklch(37.7% 0.171 297.4)

  11. Step 950

    950

    #2E1453

    oklch(27% 0.108 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#8E20FF 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)#0069FF0.173
Deuteranopia (no green cones)#0066FB0.172
Tritanopia (no blue cones)#6F68980.211
Achromatopsia (no color)#6969690.286

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E20FF

    #8E20FF

    oklch(55.7% 0.284 297.7)

  • #6E7D00

    #6E7D00

    oklch(55.8% 0.13 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E20FF

    #8E20FF

    oklch(55.7% 0.284 297.7)

  • #385CFF

    #385CFF

    oklch(55.7% 0.244 267.6)

  • #BB00BD

    #BB00BD

    oklch(55.7% 0.257 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #8E20FF

    #8E20FF

    oklch(55.7% 0.284 297.7)

  • #906E00

    #906E00

    oklch(55.7% 0.114 87.1)

  • #008C34

    #008C34

    oklch(55.8% 0.163 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E20FF

    #8E20FF

    oklch(55.7% 0.284 297.7)

  • #AC5B00

    #AC5B00

    oklch(55.6% 0.134 57.3)

  • #008773

    #008773

    oklch(55.8% 0.103 177.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E20FF

    #8E20FF

    oklch(55.7% 0.284 297.7)

  • #D90012

    #D90012

    oklch(55.7% 0.227 27.7)

  • #6E7D00

    #6E7D00

    oklch(55.8% 0.13 117.8)

  • #008390

    #008390

    oklch(55.7% 0.096 207)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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