#793F83

Closest named color: Light Eggplant (#894585). oklch(46.7% 0.124 321.6), rgb(121, 63, 131).

Aa

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

About this color

#793F83 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.124 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.036 away. White text reads best on it, at 7.36:1.

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

Values

HEX#793F83
RGBrgb(121, 63, 131)
HSLhsl(291, 35%, 38%)
OKLCHoklch(46.7% 0.124 321.6)

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 #793F83 7.36:1 AAA Lc -90.1 Preferred for body text
Black text on #793F83 2.85:1 Fails Lc 18.8 Dividers and decoration only
#793F83 text on white 7.36:1 AAA Lc 85.2 Fine for body text
#793F83 text on black 2.85:1 Fails Lc -16.8 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E4D2E7

    oklch(88.5% 0.034 321.4)

  4. Step 300

    300

    #D3B4D8

    oklch(80.8% 0.06 321.6)

  5. Step 400

    400

    #BD8DC5

    oklch(70.8% 0.096 321.6)

  6. Step 500

    500

    #AB6FB6

    oklch(63.1% 0.123 321.2)

  7. Step 600

    600

    #9656A1

    oklch(55.6% 0.132 321.6)

  8. Step 700

    700 (this color)

    #793F83

    oklch(46.7% 0.124 321.6)

  9. Step 800

    800

    #683A70

    oklch(42.7% 0.102 321.5)

  10. Step 900

    900

    #55325B

    oklch(37.7% 0.08 321.6)

  11. Step 950

    950

    #321E35

    oklch(27.1% 0.05 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#793F83 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)#3452850.116
Deuteranopia (no green cones)#4658810.103
Tritanopia (no blue cones)#7A485B0.076
Achromatopsia (no color)#5656560.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #793F83

    #793F83

    oklch(46.7% 0.124 321.6)

  • #2A6A23

    #2A6A23

    oklch(46.6% 0.123 141.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793F83

    #793F83

    oklch(46.7% 0.124 321.6)

  • #5C4A99

    #5C4A99

    oklch(46.7% 0.124 291.3)

  • #8B3862

    #8B3862

    oklch(46.8% 0.123 351.4)

Open the analogous palette in the generator

Split complementary

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

  • #793F83

    #793F83

    oklch(46.7% 0.124 321.6)

  • #5C5F00

    #5C5F00

    oklch(46.7% 0.103 111.9)

  • #006A54

    #006A54

    oklch(46.7% 0.091 171.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793F83

    #793F83

    oklch(46.7% 0.124 321.6)

  • #755300

    #755300

    oklch(46.6% 0.096 81.1)

  • #00676D

    #00676D

    oklch(46.8% 0.08 201.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793F83

    #793F83

    oklch(46.7% 0.124 321.6)

  • #8D4200

    #8D4200

    oklch(46.8% 0.121 51.7)

  • #2A6A23

    #2A6A23

    oklch(46.6% 0.123 141.7)

  • #006386

    #006386

    oklch(46.9% 0.095 231.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #793F83 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.