#793E9F

Closest named color: Rebecca Purple (#663399). oklch(48.3% 0.156 309.8), rgb(121, 62, 159).

Aa

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

About this color

#793E9F is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.156 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.046 away. White text reads best on it, at 6.99:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.156)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text3.00:1
White text6.99:1

Values

HEX#793E9F
RGBrgb(121, 62, 159)
HSLhsl(276, 44%, 43%)
OKLCHoklch(48.3% 0.156 309.8)

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 #793E9F 6.99:1 AA Lc -88.7 Fine for body text
Black text on #793E9F 3.00:1 AA large text Lc 20.3 Dividers and decoration only
#793E9F text on white 6.99:1 AA Lc 83.7 Fine for body text
#793E9F text on black 3.00:1 AA large text Lc -18.2 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E2D2EF

    oklch(88.6% 0.043 310.1)

  4. Step 300

    300

    #D0B4E6

    oklch(81% 0.075 310)

  5. Step 400

    400

    #B88BD9

    oklch(70.8% 0.12 310)

  6. Step 500

    500

    #A66BCF

    oklch(63.1% 0.156 309.9)

  7. Step 600

    600

    #9151BB

    oklch(55.6% 0.167 309.9)

  8. Step 700

    700 (this color)

    #793E9F

    oklch(48.3% 0.156 309.8)

  9. Step 800

    800

    #643683

    oklch(42.7% 0.129 309.6)

  10. Step 900

    900

    #523069

    oklch(37.8% 0.1 310)

  11. Step 950

    950

    #301C3E

    oklch(27% 0.066 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#793E9F 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)#1756A20.137
Deuteranopia (no green cones)#335A9D0.120
Tritanopia (no blue cones)#7450680.109
Achromatopsia (no color)#5959590.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #793E9F

    #793E9F

    oklch(48.3% 0.156 309.8)

  • #456C00

    #456C00

    oklch(48.3% 0.13 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793E9F

    #793E9F

    oklch(48.3% 0.156 309.8)

  • #504EB3

    #504EB3

    oklch(48.2% 0.156 279.7)

  • #94317A

    #94317A

    oklch(48.3% 0.156 339.7)

Open the analogous palette in the generator

Split complementary

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

  • #793E9F

    #793E9F

    oklch(48.3% 0.156 309.8)

  • #6C5F00

    #6C5F00

    oklch(48.3% 0.1 100)

  • #007148

    #007148

    oklch(48.4% 0.11 159.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793E9F

    #793E9F

    oklch(48.3% 0.156 309.8)

  • #835200

    #835200

    oklch(48.3% 0.104 70.2)

  • #006D69

    #006D69

    oklch(48.3% 0.083 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793E9F

    #793E9F

    oklch(48.3% 0.156 309.8)

  • #A13500

    #A13500

    oklch(48.2% 0.152 39.8)

  • #456C00

    #456C00

    oklch(48.3% 0.13 130)

  • #006980

    #006980

    oklch(48.2% 0.088 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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