#813F7A

Closest named color: Light Eggplant (#894585). oklch(47.4% 0.12 331.4), rgb(129, 63, 122).

Aa

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

About this color

#813F7A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.120 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.026 away. White text reads best on it, at 7.17:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.92:1
White text7.17:1

Values

HEX#813F7A
RGBrgb(129, 63, 122)
HSLhsl(306, 34%, 38%)
OKLCHoklch(47.4% 0.12 331.4)

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 #813F7A 7.17:1 AAA Lc -89.5 Fine for body text
Black text on #813F7A 2.92:1 Fails Lc 19.5 Dividers and decoration only
#813F7A text on white 7.17:1 AAA Lc 84.5 Fine for body text
#813F7A text on black 2.92:1 Fails Lc -17.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

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6EF

    oklch(93.6% 0.017 331.6)

  3. Step 200

    200

    #E6D2E3

    oklch(88.5% 0.032 330.7)

  4. Step 300

    300

    #D8B3D2

    oklch(80.9% 0.059 331.6)

  5. Step 400

    400

    #C38BBB

    oklch(70.7% 0.093 331.6)

  6. Step 500

    500

    #B26DAA

    oklch(63% 0.119 331.1)

  7. Step 600

    600

    #9D5495

    oklch(55.5% 0.128 331.3)

  8. Step 700

    700 (this color)

    #813F7A

    oklch(47.4% 0.12 331.4)

  9. Step 800

    800

    #6D3867

    oklch(42.6% 0.099 331.5)

  10. Step 900

    900

    #593154

    oklch(37.7% 0.078 331.7)

  11. Step 950

    950

    #341D31

    oklch(27% 0.049 331.6)

Export this scale for Tailwind in the Tailwind colors tool

#813F7A 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)#3C527C0.121
Deuteranopia (no green cones)#4F5B780.108
Tritanopia (no blue cones)#8644570.063
Achromatopsia (no color)#5757570.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #813F7A

    #813F7A

    oklch(47.4% 0.12 331.4)

  • #106E37

    #106E37

    oklch(47.4% 0.12 151.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #813F7A

    #813F7A

    oklch(47.4% 0.12 331.4)

  • #684994

    #684994

    oklch(47.4% 0.12 301)

  • #903A57

    #903A57

    oklch(47.4% 0.12 1.7)

Open the analogous palette in the generator

Split complementary

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

  • #813F7A

    #813F7A

    oklch(47.4% 0.12 331.4)

  • #526500

    #526500

    oklch(47.4% 0.114 121.6)

  • #006B5F

    #006B5F

    oklch(47.3% 0.085 181.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #813F7A

    #813F7A

    oklch(47.4% 0.12 331.4)

  • #705900

    #705900

    oklch(47.4% 0.097 91.3)

  • #006876

    #006876

    oklch(47.4% 0.082 210.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #813F7A

    #813F7A

    oklch(47.4% 0.12 331.4)

  • #874B00

    #874B00

    oklch(47.5% 0.11 61.4)

  • #106E37

    #106E37

    oklch(47.4% 0.12 151.4)

  • #006294

    #006294

    oklch(47.4% 0.111 241.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #813F7A 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.