#8E3158

Closest named color: Berry (#990F4B). oklch(46% 0.132 357.7), rgb(142, 49, 88).

Aa

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

About this color

#8E3158 is a medium-dark, moderately saturated red. In OKLCH its lightness is 46%, its chroma 0.132 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.044 away. White text reads best on it, at 7.69:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.73:1
White text7.69:1

Values

HEX#8E3158
RGBrgb(142, 49, 88)
HSLhsl(335, 49%, 37%)
OKLCHoklch(46% 0.132 357.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 #8E3158 7.69:1 AAA Lc -90.8 Preferred for body text
Black text on #8E3158 2.73:1 Fails Lc 18.1 Dividers and decoration only
#8E3158 text on white 7.69:1 AAA Lc 86.0 Fine for body text
#8E3158 text on black 2.73:1 Fails Lc -16.1 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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F5E5EA

    oklch(93.6% 0.019 356.4)

  3. Step 200

    200

    #EED0D9

    oklch(88.5% 0.035 357.8)

  4. Step 300

    300

    #E4B0C1

    oklch(80.9% 0.064 357.2)

  5. Step 400

    400

    #D485A1

    oklch(70.7% 0.103 357.3)

  6. Step 500

    500

    #C6658A

    oklch(63.1% 0.13 357.3)

  7. Step 600

    600

    #B14A73

    oklch(55.5% 0.141 357.8)

  8. Step 700

    700 (this color)

    #8E3158

    oklch(46% 0.132 357.7)

  9. Step 800

    800

    #7C314F

    oklch(42.7% 0.109 357.8)

  10. Step 900

    900

    #642C42

    oklch(37.7% 0.085 357.2)

  11. Step 950

    950

    #3B1A26

    oklch(27% 0.054 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#8E3158 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)#4148590.147
Deuteranopia (no green cones)#5B59560.131
Tritanopia (no blue cones)#9929410.040
Achromatopsia (no color)#5353530.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E3158

    #8E3158

    oklch(46% 0.132 357.7)

  • #006758

    #006758

    oklch(46% 0.085 178.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E3158

    #8E3158

    oklch(46% 0.132 357.7)

  • #7D387D

    #7D387D

    oklch(45.9% 0.132 327.5)

  • #93332C

    #93332C

    oklch(45.9% 0.131 27.6)

Open the analogous palette in the generator

Split complementary

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

  • #8E3158

    #8E3158

    oklch(46% 0.132 357.7)

  • #066A28

    #066A28

    oklch(45.8% 0.13 147.8)

  • #00646F

    #00646F

    oklch(46% 0.079 207.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E3158

    #8E3158

    oklch(46% 0.132 357.7)

  • #535F00

    #535F00

    oklch(45.9% 0.107 117.9)

  • #005F89

    #005F89

    oklch(46% 0.101 237.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E3158

    #8E3158

    oklch(46% 0.132 357.7)

  • #6E5400

    #6E5400

    oklch(46% 0.094 87.8)

  • #006758

    #006758

    oklch(46% 0.085 178.1)

  • #3851A0

    #3851A0

    oklch(45.9% 0.131 267.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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