#793E88

Closest named color: Light Eggplant (#894585). oklch(46.9% 0.131 319.2), rgb(121, 62, 136).

Aa

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

About this color

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

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

Values

HEX#793E88
RGBrgb(121, 62, 136)
HSLhsl(288, 37%, 39%)
OKLCHoklch(46.9% 0.131 319.2)

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 #793E88 7.34:1 AAA Lc -90.0 Preferred for body text
Black text on #793E88 2.85:1 Fails Lc 18.9 Dividers and decoration only
#793E88 text on white 7.34:1 AAA Lc 85.2 Fine for body text
#793E88 text on black 2.85:1 Fails Lc -16.9 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

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E4D2E8

    oklch(88.5% 0.035 320.1)

  4. Step 300

    300

    #D3B4DB

    oklch(80.9% 0.064 319.3)

  5. Step 400

    400

    #BC8CC9

    oklch(70.7% 0.102 319)

  6. Step 500

    500

    #AB6EBB

    oklch(63.1% 0.13 319.1)

  7. Step 600

    600

    #9655A7

    oklch(55.7% 0.14 319)

  8. Step 700

    700 (this color)

    #793E88

    oklch(46.9% 0.131 319.2)

  9. Step 800

    800

    #683974

    oklch(42.8% 0.108 319.2)

  10. Step 900

    900

    #55315E

    oklch(37.7% 0.086 319.4)

  11. Step 950

    950

    #321D37

    oklch(27% 0.055 319.7)

Export this scale for Tailwind in the Tailwind colors tool

#793E88 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)#30528A0.121
Deuteranopia (no green cones)#4358860.107
Tritanopia (no blue cones)#79495D0.083
Achromatopsia (no color)#5656560.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #793E88

    #793E88

    oklch(46.9% 0.131 319.2)

  • #2D6B18

    #2D6B18

    oklch(46.9% 0.131 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793E88

    #793E88

    oklch(46.9% 0.131 319.2)

  • #5A4A9E

    #5A4A9E

    oklch(46.8% 0.131 289.1)

  • #8D3566

    #8D3566

    oklch(46.8% 0.132 348.9)

Open the analogous palette in the generator

Split complementary

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

  • #793E88

    #793E88

    oklch(46.9% 0.131 319.2)

  • #5F5E00

    #5F5E00

    oklch(46.7% 0.101 109)

  • #006B51

    #006B51

    oklch(46.9% 0.094 168.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793E88

    #793E88

    oklch(46.9% 0.131 319.2)

  • #775300

    #775300

    oklch(46.9% 0.097 79.6)

  • #00686B

    #00686B

    oklch(47% 0.08 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793E88

    #793E88

    oklch(46.9% 0.131 319.2)

  • #904000

    #904000

    oklch(46.9% 0.125 49.3)

  • #2D6B18

    #2D6B18

    oklch(46.9% 0.131 139.1)

  • #006384

    #006384

    oklch(46.8% 0.093 229.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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