#8E72E1

Closest named color: Medium Purple (#9370DB). oklch(62.9% 0.162 292.7), rgb(142, 114, 225).

Aa

Black text reads best on this color (5.64:1).

About this color

#8E72E1 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.162 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.012 away. Black text reads best on it, at 5.64:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.162)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.64:1
White text3.72:1

Values

HEX#8E72E1
RGBrgb(142, 114, 225)
HSLhsl(255, 65%, 66%)
OKLCHoklch(62.9% 0.162 292.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 #8E72E1 3.72:1 AA large text Lc -70.1 Content text, not long reading
Black text on #8E72E1 5.64:1 AA Lc 39.5 Non-text elements, placeholder text
#8E72E1 text on white 3.72:1 AA large text Lc 64.6 Content text, not long reading
#8E72E1 text on black 5.64:1 AA Lc -37.1 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #D9D4F4

    oklch(88.4% 0.044 292.6)

  4. Step 300

    300

    #C2B8F0

    oklch(81% 0.079 292.7)

  5. Step 400

    400

    #A491E9

    oklch(70.8% 0.127 292.8)

  6. Step 500

    500 (this color)

    #8E72E1

    oklch(62.9% 0.162 292.7)

  7. Step 600

    600

    #7A58CF

    oklch(55.6% 0.176 292.9)

  8. Step 700

    700

    #6747B4

    oklch(49.1% 0.165 292.8)

  9. Step 800

    800

    #543B91

    oklch(42.7% 0.136 293.2)

  10. Step 900

    900

    #453474

    oklch(37.8% 0.106 292.9)

  11. Step 950

    950

    #281F44

    oklch(27% 0.067 292.5)

Export this scale for Tailwind in the Tailwind colors tool

#8E72E1 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)#4886E50.094
Deuteranopia (no green cones)#4C82DE0.089
Tritanopia (no blue cones)#79889F0.132
Achromatopsia (no color)#8484840.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E72E1

    #8E72E1

    oklch(62.9% 0.162 292.7)

  • #8B9100

    #8B9100

    oklch(63% 0.14 112.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E72E1

    #8E72E1

    oklch(62.9% 0.162 292.7)

  • #5284EA

    #5284EA

    oklch(62.9% 0.163 262.9)

  • #B662C1

    #B662C1

    oklch(62.8% 0.163 322.8)

Open the analogous palette in the generator

Split complementary

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

  • #8E72E1

    #8E72E1

    oklch(62.9% 0.162 292.7)

  • #AF8000

    #AF8000

    oklch(62.9% 0.13 82.6)

  • #42A13F

    #42A13F

    oklch(63% 0.163 142.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E72E1

    #8E72E1

    oklch(62.9% 0.162 292.7)

  • #D16700

    #D16700

    oklch(62.9% 0.16 52.6)

  • #00A082

    #00A082

    oklch(62.9% 0.121 173.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E72E1

    #8E72E1

    oklch(62.9% 0.162 292.7)

  • #DA5959

    #DA5959

    oklch(63% 0.163 22.9)

  • #8B9100

    #8B9100

    oklch(63% 0.14 112.7)

  • #009BA5

    #009BA5

    oklch(62.8% 0.107 202.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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