#8E42AF

Closest named color: Purply (#983FB2). oklch(52.5% 0.176 314.2), rgb(142, 66, 175).

Aa

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

About this color

#8E42AF is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.176 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.020 away. White text reads best on it, at 5.91:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.176)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.54:1
White text5.91:1

Values

HEX#8E42AF
RGBrgb(142, 66, 175)
HSLhsl(282, 45%, 47%)
OKLCHoklch(52.5% 0.176 314.2)

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 #8E42AF 5.91:1 AA Lc -84.3 Fine for body text
Black text on #8E42AF 3.54:1 AA large text Lc 25.0 Dividers and decoration only
#8E42AF text on white 5.91:1 AA Lc 79.0 Fine for body text
#8E42AF text on black 3.54:1 AA large text Lc -22.8 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E6F5

    oklch(93.7% 0.023 314.7)

  3. Step 200

    200

    #E4D1EE

    oklch(88.5% 0.044 314.1)

  4. Step 300

    300

    #D4B2E5

    oklch(81% 0.079 314.3)

  5. Step 400

    400

    #BD88D7

    oklch(70.7% 0.125 314.1)

  6. Step 500

    500

    #AC67CC

    oklch(63% 0.161 314.2)

  7. Step 600

    600 (this color)

    #8E42AF

    oklch(52.5% 0.176 314.2)

  8. Step 700

    700

    #813CA0

    oklch(49.1% 0.164 313.8)

  9. Step 800

    800

    #693281

    oklch(42.6% 0.135 314.3)

  10. Step 900

    900

    #562D68

    oklch(37.7% 0.106 314.5)

  11. Step 950

    950

    #321B3D

    oklch(27% 0.067 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#8E42AF 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)#1B60B20.162
Deuteranopia (no green cones)#3E66AC0.142
Tritanopia (no blue cones)#8B56720.117
Achromatopsia (no color)#6464640.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E42AF

    #8E42AF

    oklch(52.5% 0.176 314.2)

  • #427C00

    #427C00

    oklch(52.6% 0.151 134.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E42AF

    #8E42AF

    oklch(52.5% 0.176 314.2)

  • #6354CA

    #6354CA

    oklch(52.5% 0.176 284.3)

  • #AB3382

    #AB3382

    oklch(52.5% 0.176 344.4)

Open the analogous palette in the generator

Split complementary

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

  • #8E42AF

    #8E42AF

    oklch(52.5% 0.176 314.2)

  • #756D00

    #756D00

    oklch(52.5% 0.111 104.5)

  • #007E59

    #007E59

    oklch(52.5% 0.112 164.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E42AF

    #8E42AF

    oklch(52.5% 0.176 314.2)

  • #905F00

    #905F00

    oklch(52.6% 0.111 74.1)

  • #007A79

    #007A79

    oklch(52.4% 0.09 193.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E42AF

    #8E42AF

    oklch(52.5% 0.176 314.2)

  • #AE4500

    #AE4500

    oklch(52.5% 0.152 44.4)

  • #427C00

    #427C00

    oklch(52.6% 0.151 134.2)

  • #007694

    #007694

    oklch(52.5% 0.098 223.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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