#8E2F75

Closest named color: Warm Purple (#952E8F). oklch(46.9% 0.151 339.8), rgb(142, 47, 117).

Aa

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

About this color

#8E2F75 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.151 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.044 away. White text reads best on it, at 7.46:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.81:1
White text7.46:1

Values

HEX#8E2F75
RGBrgb(142, 47, 117)
HSLhsl(316, 50%, 37%)
OKLCHoklch(46.9% 0.151 339.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 #8E2F75 7.46:1 AAA Lc -90.0 Preferred for body text
Black text on #8E2F75 2.81:1 Fails Lc 18.9 Dividers and decoration only
#8E2F75 text on white 7.46:1 AAA Lc 85.1 Fine for body text
#8E2F75 text on black 2.81:1 Fails Lc -16.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 700.

  1. Step 50

    50

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #EDCFE2

    oklch(88.5% 0.042 339.7)

  4. Step 300

    300

    #E2AFD0

    oklch(81% 0.073 339.9)

  5. Step 400

    400

    #D183B8

    oklch(70.8% 0.117 339.7)

  6. Step 500

    500

    #C361A6

    oklch(63.1% 0.15 339.8)

  7. Step 600

    600

    #AE4591

    oklch(55.6% 0.163 339.8)

  8. Step 700

    700 (this color)

    #8E2F75

    oklch(46.9% 0.151 339.8)

  9. Step 800

    800

    #792E64

    oklch(42.7% 0.124 340)

  10. Step 900

    900

    #622A52

    oklch(37.8% 0.097 339.7)

  11. Step 950

    950

    #3A1930

    oklch(27.1% 0.062 340)

Export this scale for Tailwind in the Tailwind colors tool

#8E2F75 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)#344B770.164
Deuteranopia (no green cones)#515A730.143
Tritanopia (no blue cones)#96324D0.071
Achromatopsia (no color)#5555550.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E2F75

    #8E2F75

    oklch(46.9% 0.151 339.8)

  • #006C45

    #006C45

    oklch(46.9% 0.106 159.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E2F75

    #8E2F75

    oklch(46.9% 0.151 339.8)

  • #743C99

    #743C99

    oklch(47% 0.151 309.6)

  • #9C2947

    #9C2947

    oklch(46.9% 0.151 10)

Open the analogous palette in the generator

Split complementary

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

  • #8E2F75

    #8E2F75

    oklch(46.9% 0.151 339.8)

  • #436700

    #436700

    oklch(46.8% 0.125 129.5)

  • #006964

    #006964

    oklch(47% 0.081 189.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E2F75

    #8E2F75

    oklch(46.9% 0.151 339.8)

  • #685B00

    #685B00

    oklch(46.9% 0.097 99.6)

  • #00657B

    #00657B

    oklch(46.9% 0.085 219.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E2F75

    #8E2F75

    oklch(46.9% 0.151 339.8)

  • #7E4E00

    #7E4E00

    oklch(46.8% 0.102 69.5)

  • #006C45

    #006C45

    oklch(46.9% 0.106 159.9)

  • #005DA1

    #005DA1

    oklch(47% 0.132 249.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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