#793D97

Closest named color: Rebecca Purple (#663399). oklch(47.6% 0.149 312.9), rgb(121, 61, 151).

Aa

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

About this color

#793D97 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.149 and its hue 313°. 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 7.17:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.149)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.92:1
White text7.17:1

Values

HEX#793D97
RGBrgb(121, 61, 151)
HSLhsl(280, 42%, 42%)
OKLCHoklch(47.6% 0.149 312.9)

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 #793D97 7.17:1 AAA Lc -89.4 Fine for body text
Black text on #793D97 2.92:1 Fails Lc 19.6 Dividers and decoration only
#793D97 text on white 7.17:1 AAA Lc 84.4 Fine for body text
#793D97 text on black 2.92:1 Fails Lc -17.5 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

    #E2D2ED

    oklch(88.5% 0.04 311.7)

  4. Step 300

    300

    #D1B4E2

    oklch(81% 0.071 313)

  5. Step 400

    400

    #BA8BD4

    oklch(70.8% 0.115 313)

  6. Step 500

    500

    #A86CC8

    oklch(63.1% 0.147 312.9)

  7. Step 600

    600

    #9351B5

    oklch(55.5% 0.161 312.8)

  8. Step 700

    700 (this color)

    #793D97

    oklch(47.6% 0.149 312.9)

  9. Step 800

    800

    #66367E

    oklch(42.6% 0.124 313.1)

  10. Step 900

    900

    #533065

    oklch(37.7% 0.096 313.1)

  11. Step 950

    950

    #311D3B

    oklch(27.1% 0.06 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#793D97 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)#21549A0.133
Deuteranopia (no green cones)#3859950.117
Tritanopia (no blue cones)#764D640.101
Achromatopsia (no color)#5757570.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #793D97

    #793D97

    oklch(47.6% 0.149 312.9)

  • #3C6B00

    #3C6B00

    oklch(47.5% 0.134 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793D97

    #793D97

    oklch(47.6% 0.149 312.9)

  • #544CAC

    #544CAC

    oklch(47.7% 0.148 283)

  • #923172

    #923172

    oklch(47.6% 0.149 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #793D97

    #793D97

    oklch(47.6% 0.149 312.9)

  • #675E00

    #675E00

    oklch(47.6% 0.1 103)

  • #006E4B

    #006E4B

    oklch(47.6% 0.103 162.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793D97

    #793D97

    oklch(47.6% 0.149 312.9)

  • #7F5200

    #7F5200

    oklch(47.7% 0.102 72.8)

  • #006B69

    #006B69

    oklch(47.7% 0.082 192.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793D97

    #793D97

    oklch(47.6% 0.149 312.9)

  • #9A3900

    #9A3900

    oklch(47.5% 0.141 42.8)

  • #3C6B00

    #3C6B00

    oklch(47.5% 0.134 133)

  • #006781

    #006781

    oklch(47.7% 0.089 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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