#793992

Closest named color: Rebecca Purple (#663399). oklch(46.8% 0.15 315.4), rgb(121, 57, 146).

Aa

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

About this color

#793992 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.150 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.044 away. White text reads best on it, at 7.46:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.150)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.81:1
White text7.46:1

Values

HEX#793992
RGBrgb(121, 57, 146)
HSLhsl(283, 44%, 40%)
OKLCHoklch(46.8% 0.15 315.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 #793992 7.46:1 AAA Lc -90.3 Preferred for body text
Black text on #793992 2.81:1 Fails Lc 18.6 Dividers and decoration only
#793992 text on white 7.46:1 AAA Lc 85.4 Fine for body text
#793992 text on black 2.81:1 Fails Lc -16.6 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E4D2EC

    oklch(88.6% 0.04 315.6)

  4. Step 300

    300

    #D3B3E1

    oklch(80.9% 0.072 315.5)

  5. Step 400

    400

    #BC8AD2

    oklch(70.7% 0.115 315.2)

  6. Step 500

    500

    #AB6AC6

    oklch(63% 0.149 315.3)

  7. Step 600

    600

    #9650B2

    oklch(55.6% 0.161 315.4)

  8. Step 700

    700 (this color)

    #793992

    oklch(46.8% 0.15 315.4)

  9. Step 800

    800

    #68357C

    oklch(42.6% 0.124 315.5)

  10. Step 900

    900

    #552F64

    oklch(37.7% 0.097 315.7)

  11. Step 950

    950

    #321C3B

    oklch(27% 0.062 315.5)

Export this scale for Tailwind in the Tailwind colors tool

#793992 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)#1E51950.139
Deuteranopia (no green cones)#3857900.121
Tritanopia (no blue cones)#7748600.098
Achromatopsia (no color)#5555550.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #793992

    #793992

    oklch(46.8% 0.15 315.4)

  • #336A00

    #336A00

    oklch(46.8% 0.138 135.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793992

    #793992

    oklch(46.8% 0.15 315.4)

  • #5548A9

    #5548A9

    oklch(46.8% 0.15 285.1)

  • #912D6C

    #912D6C

    oklch(46.8% 0.15 345.7)

Open the analogous palette in the generator

Split complementary

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

  • #793992

    #793992

    oklch(46.8% 0.15 315.4)

  • #625D00

    #625D00

    oklch(46.8% 0.1 106)

  • #006B4D

    #006B4D

    oklch(46.8% 0.098 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793992

    #793992

    oklch(46.8% 0.15 315.4)

  • #7A5100

    #7A5100

    oklch(46.9% 0.099 75.3)

  • #006868

    #006868

    oklch(46.8% 0.08 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793992

    #793992

    oklch(46.8% 0.15 315.4)

  • #933B00

    #933B00

    oklch(46.7% 0.132 45.4)

  • #336A00

    #336A00

    oklch(46.8% 0.138 135.5)

  • #006480

    #006480

    oklch(46.8% 0.089 225.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #793992 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.