#8C4298

Closest named color: Light Eggplant (#894585). oklch(50.8% 0.151 321.9), rgb(140, 66, 152).

Aa

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

About this color

#8C4298 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.151 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.033 away. White text reads best on it, at 6.27:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.151)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.34:1
White text6.27:1

Values

HEX#8C4298
RGBrgb(140, 66, 152)
HSLhsl(292, 39%, 43%)
OKLCHoklch(50.8% 0.151 321.9)

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 #8C4298 6.27:1 AA Lc -85.9 Fine for body text
Black text on #8C4298 3.34:1 AA large text Lc 23.3 Dividers and decoration only
#8C4298 text on white 6.27:1 AA Lc 80.8 Fine for body text
#8C4298 text on black 3.34:1 AA large text Lc -21.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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F2

    oklch(93.5% 0.022 323.4)

  3. Step 200

    200

    #E6D1E9

    oklch(88.5% 0.04 322)

  4. Step 300

    300

    #D7B1DD

    oklch(80.8% 0.074 321.7)

  5. Step 400

    400

    #C387CC

    oklch(70.7% 0.118 322.1)

  6. Step 500

    500

    #B267BF

    oklch(63% 0.15 321.5)

  7. Step 600

    600

    #9E4CAB

    oklch(55.6% 0.164 322)

  8. Step 700

    700 (this color)

    #8C4298

    oklch(50.8% 0.151 321.9)

  9. Step 800

    800

    #6D3377

    oklch(42.7% 0.125 321.6)

  10. Step 900

    900

    #592D60

    oklch(37.7% 0.098 322)

  11. Step 950

    950

    #341B38

    oklch(26.9% 0.062 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#8C4298 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)#335B9B0.145
Deuteranopia (no green cones)#4C63960.127
Tritanopia (no blue cones)#8E4E670.091
Achromatopsia (no color)#6060600.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C4298

    #8C4298

    oklch(50.8% 0.151 321.9)

  • #247A1C

    #247A1C

    oklch(50.9% 0.152 141.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C4298

    #8C4298

    oklch(50.8% 0.151 321.9)

  • #6950B3

    #6950B3

    oklch(50.7% 0.151 291.8)

  • #A2386F

    #A2386F

    oklch(50.8% 0.151 351.7)

Open the analogous palette in the generator

Split complementary

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

  • #8C4298

    #8C4298

    oklch(50.8% 0.151 321.9)

  • #686B00

    #686B00

    oklch(50.8% 0.112 111.7)

  • #00775F

    #00775F

    oklch(50.7% 0.098 172.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C4298

    #8C4298

    oklch(50.8% 0.151 321.9)

  • #835E00

    #835E00

    oklch(50.7% 0.105 81.7)

  • #00747B

    #00747B

    oklch(50.9% 0.087 202.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C4298

    #8C4298

    oklch(50.8% 0.151 321.9)

  • #9E4B00

    #9E4B00

    oklch(50.9% 0.131 51.8)

  • #247A1C

    #247A1C

    oklch(50.9% 0.152 141.9)

  • #006F96

    #006F96

    oklch(50.8% 0.103 231.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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