#8C478D

Closest named color: Light Eggplant (#894585). oklch(51% 0.132 326.8), rgb(140, 71, 141).

Aa

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

About this color

#8C478D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.132 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.014 away. White text reads best on it, at 6.17:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.40:1
White text6.17:1

Values

HEX#8C478D
RGBrgb(140, 71, 141)
HSLhsl(299, 33%, 42%)
OKLCHoklch(51% 0.132 326.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 #8C478D 6.17:1 AA Lc -85.6 Fine for body text
Black text on #8C478D 3.40:1 AA large text Lc 23.6 Dividers and decoration only
#8C478D text on white 6.17:1 AA Lc 80.4 Fine for body text
#8C478D text on black 3.40:1 AA large text Lc -21.4 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E6D1E6

    oklch(88.4% 0.036 325.9)

  4. Step 300

    300

    #D7B3D7

    oklch(80.9% 0.064 326.1)

  5. Step 400

    400

    #C28AC2

    oklch(70.7% 0.101 326.6)

  6. Step 500

    500

    #B26BB3

    oklch(63.1% 0.131 326.5)

  7. Step 600

    600

    #9D519E

    oklch(55.5% 0.142 326.8)

  8. Step 700

    700 (this color)

    #8C478D

    oklch(51% 0.132 326.8)

  9. Step 800

    800

    #6D366E

    oklch(42.6% 0.11 326.6)

  10. Step 900

    900

    #593059

    oklch(37.8% 0.085 327.1)

  11. Step 950

    950

    #341C34

    oklch(26.9% 0.054 327)

Export this scale for Tailwind in the Tailwind colors tool

#8C478D 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)#405C8F0.129
Deuteranopia (no green cones)#55648B0.113
Tritanopia (no blue cones)#904F630.077
Achromatopsia (no color)#6161610.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C478D

    #8C478D

    oklch(51% 0.132 326.8)

  • #237934

    #237934

    oklch(50.9% 0.132 146.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C478D

    #8C478D

    oklch(51% 0.132 326.8)

  • #6F53A7

    #6F53A7

    oklch(51.1% 0.131 296.9)

  • #9E4067

    #9E4067

    oklch(50.9% 0.132 356.9)

Open the analogous palette in the generator

Split complementary

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

  • #8C478D

    #8C478D

    oklch(51% 0.132 326.8)

  • #626E00

    #626E00

    oklch(51% 0.118 117)

  • #007765

    #007765

    oklch(50.9% 0.094 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C478D

    #8C478D

    oklch(51% 0.132 326.8)

  • #806100

    #806100

    oklch(51% 0.104 86.7)

  • #00747F

    #00747F

    oklch(51.1% 0.087 206.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C478D

    #8C478D

    oklch(51% 0.132 326.8)

  • #995000

    #995000

    oklch(51% 0.123 57.1)

  • #237934

    #237934

    oklch(50.9% 0.132 146.7)

  • #006E9D

    #006E9D

    oklch(51% 0.111 236.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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