#8D3798

Closest named color: Warm Purple (#952E8F). oklch(49.6% 0.168 323), rgb(141, 55, 152).

Aa

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

About this color

#8D3798 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.168 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.024 away. White text reads best on it, at 6.70:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.168)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.13:1
White text6.70:1

Values

HEX#8D3798
RGBrgb(141, 55, 152)
HSLhsl(293, 47%, 41%)
OKLCHoklch(49.6% 0.168 323)

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 #8D3798 6.70:1 AA Lc -87.4 Fine for body text
Black text on #8D3798 3.13:1 AA large text Lc 21.7 Dividers and decoration only
#8D3798 text on white 6.70:1 AA Lc 82.4 Fine for body text
#8D3798 text on black 3.13:1 AA large text Lc -19.5 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E8D0EB

    oklch(88.5% 0.045 322.5)

  4. Step 300

    300

    #DBAFDF

    oklch(80.9% 0.082 323.6)

  5. Step 400

    400

    #C783CF

    oklch(70.6% 0.131 323.1)

  6. Step 500

    500

    #B861C3

    oklch(63% 0.168 323)

  7. Step 600

    600

    #A345AF

    oklch(55.6% 0.181 323)

  8. Step 700

    700 (this color)

    #8D3798

    oklch(49.6% 0.168 323)

  9. Step 800

    800

    #712D7A

    oklch(42.6% 0.14 322.8)

  10. Step 900

    900

    #5C2A62

    oklch(37.7% 0.108 323.2)

  11. Step 950

    950

    #36193A

    oklch(27% 0.07 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#8D3798 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)#23559B0.168
Deuteranopia (no green cones)#455F950.145
Tritanopia (no blue cones)#8F46620.101
Achromatopsia (no color)#5C5C5C0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D3798

    #8D3798

    oklch(49.6% 0.168 323)

  • #007808

    #007808

    oklch(49.6% 0.166 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D3798

    #8D3798

    oklch(49.6% 0.168 323)

  • #6947B7

    #6947B7

    oklch(49.5% 0.169 293.2)

  • #A42A6A

    #A42A6A

    oklch(49.5% 0.168 353)

Open the analogous palette in the generator

Split complementary

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

  • #8D3798

    #8D3798

    oklch(49.6% 0.168 323)

  • #636800

    #636800

    oklch(49.6% 0.111 113)

  • #00735D

    #00735D

    oklch(49.5% 0.095 173.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D3798

    #8D3798

    oklch(49.6% 0.168 323)

  • #7E5B00

    #7E5B00

    oklch(49.5% 0.102 82.4)

  • #007077

    #007077

    oklch(49.6% 0.084 202.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D3798

    #8D3798

    oklch(49.6% 0.168 323)

  • #974900

    #974900

    oklch(49.5% 0.126 52.9)

  • #007808

    #007808

    oklch(49.6% 0.166 143)

  • #006B92

    #006B92

    oklch(49.6% 0.102 232.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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