#793A8F

Closest named color: Rebecca Purple (#663399). oklch(46.7% 0.145 316.5), rgb(121, 58, 143).

Aa

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

About this color

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

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

Values

HEX#793A8F
RGBrgb(121, 58, 143)
HSLhsl(284, 42%, 39%)
OKLCHoklch(46.7% 0.145 316.5)

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 #793A8F 7.46:1 AAA Lc -90.3 Preferred for body text
Black text on #793A8F 2.81:1 Fails Lc 18.6 Dividers and decoration only
#793A8F text on white 7.46:1 AAA Lc 85.5 Fine for body text
#793A8F 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

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E4D2EB

    oklch(88.6% 0.039 316.6)

  4. Step 300

    300

    #D3B3DF

    oklch(80.9% 0.07 316.8)

  5. Step 400

    400

    #BC8ACF

    oklch(70.6% 0.112 316.4)

  6. Step 500

    500

    #AB6BC3

    oklch(63% 0.144 316.3)

  7. Step 600

    600

    #9651AF

    oklch(55.5% 0.156 316.3)

  8. Step 700

    700 (this color)

    #793A8F

    oklch(46.7% 0.145 316.5)

  9. Step 800

    800

    #68367A

    oklch(42.6% 0.12 316.4)

  10. Step 900

    900

    #553062

    oklch(37.7% 0.093 316.8)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#793A8F 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)#2451920.134
Deuteranopia (no green cones)#3B578D0.118
Tritanopia (no blue cones)#78485F0.094
Achromatopsia (no color)#5555550.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #793A8F

    #793A8F

    oklch(46.7% 0.145 316.5)

  • #2F6A00

    #2F6A00

    oklch(46.6% 0.14 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793A8F

    #793A8F

    oklch(46.7% 0.145 316.5)

  • #5748A6

    #5748A6

    oklch(46.8% 0.145 286.7)

  • #902F6A

    #902F6A

    oklch(46.7% 0.146 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #793A8F

    #793A8F

    oklch(46.7% 0.145 316.5)

  • #615D00

    #615D00

    oklch(46.7% 0.1 106.8)

  • #006B4E

    #006B4E

    oklch(46.8% 0.097 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793A8F

    #793A8F

    oklch(46.7% 0.145 316.5)

  • #795100

    #795100

    oklch(46.7% 0.098 76)

  • #006769

    #006769

    oklch(46.6% 0.079 197.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793A8F

    #793A8F

    oklch(46.7% 0.145 316.5)

  • #923C00

    #923C00

    oklch(46.6% 0.131 46.3)

  • #2F6A00

    #2F6A00

    oklch(46.6% 0.14 136.5)

  • #006380

    #006380

    oklch(46.6% 0.09 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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