#793A7F

Closest named color: Light Eggplant (#894585). oklch(45.8% 0.128 324), rgb(121, 58, 127).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.72:1
White text7.70:1

Values

HEX#793A7F
RGBrgb(121, 58, 127)
HSLhsl(295, 37%, 36%)
OKLCHoklch(45.8% 0.128 324)

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 #793A7F 7.70:1 AAA Lc -91.1 Preferred for body text
Black text on #793A7F 2.72:1 Fails Lc 17.7 Dividers and decoration only
#793A7F text on white 7.70:1 AAA Lc 86.4 Fine for body text
#793A7F text on black 2.72:1 Fails Lc -15.7 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 800.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F2

    oklch(93.5% 0.022 323.4)

  3. Step 200

    200

    #E7D0E9

    oklch(88.4% 0.042 323.5)

  4. Step 300

    300

    #D9B1DC

    oklch(80.9% 0.074 324)

  5. Step 400

    400

    #C586CB

    oklch(70.7% 0.12 323.7)

  6. Step 500

    500

    #B665BD

    oklch(63.1% 0.154 324.2)

  7. Step 600

    600

    #A14AA9

    oklch(55.6% 0.167 324.2)

  8. Step 700

    700

    #893A91

    oklch(49% 0.155 323.9)

  9. Step 800

    800 (this color)

    #793A7F

    oklch(45.8% 0.128 324)

  10. Step 900

    900

    #5B2C5F

    oklch(37.7% 0.1 324.3)

  11. Step 950

    950

    #351A38

    oklch(26.9% 0.065 323.4)

Export this scale for Tailwind in the Tailwind colors tool

#793A7F 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)#314E810.123
Deuteranopia (no green cones)#44567D0.110
Tritanopia (no blue cones)#7B43570.076
Achromatopsia (no color)#5353530.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #793A7F

    #793A7F

    oklch(45.8% 0.128 324)

  • #1D6922

    #1D6922

    oklch(45.9% 0.128 144)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793A7F

    #793A7F

    oklch(45.8% 0.128 324)

  • #5D4597

    #5D4597

    oklch(45.7% 0.129 294.2)

  • #8B325C

    #8B325C

    oklch(45.7% 0.129 354.1)

Open the analogous palette in the generator

Split complementary

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

  • #793A7F

    #793A7F

    oklch(45.8% 0.128 324)

  • #575D00

    #575D00

    oklch(45.7% 0.103 114.1)

  • #006754

    #006754

    oklch(45.8% 0.087 174.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793A7F

    #793A7F

    oklch(45.8% 0.128 324)

  • #705200

    #705200

    oklch(45.8% 0.094 84.1)

  • #00646B

    #00646B

    oklch(45.9% 0.078 203.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793A7F

    #793A7F

    oklch(45.8% 0.128 324)

  • #874200

    #874200

    oklch(45.9% 0.115 54)

  • #1D6922

    #1D6922

    oklch(45.9% 0.128 144)

  • #005F84

    #005F84

    oklch(45.7% 0.096 233.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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