#793897

Closest named color: Rebecca Purple (#663399). oklch(46.9% 0.157 313.5), rgb(121, 56, 151).

Aa

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

About this color

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

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

Values

HEX#793897
RGBrgb(121, 56, 151)
HSLhsl(281, 46%, 41%)
OKLCHoklch(46.9% 0.157 313.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 #793897 7.43:1 AAA Lc -90.2 Preferred for body text
Black text on #793897 2.82:1 Fails Lc 18.7 Dividers and decoration only
#793897 text on white 7.43:1 AAA Lc 85.3 Fine for body text
#793897 text on black 2.82:1 Fails Lc -16.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 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

    #E3D1ED

    oklch(88.4% 0.043 313.7)

  4. Step 300

    300

    #D2B3E4

    oklch(81% 0.075 313)

  5. Step 400

    400

    #BC89D6

    oklch(70.7% 0.122 313.8)

  6. Step 500

    500

    #AA69CB

    oklch(63% 0.156 313.3)

  7. Step 600

    600

    #964EB7

    oklch(55.6% 0.169 313.9)

  8. Step 700

    700 (this color)

    #793897

    oklch(46.9% 0.157 313.5)

  9. Step 800

    800

    #683480

    oklch(42.7% 0.131 313.8)

  10. Step 900

    900

    #542F67

    oklch(37.7% 0.1 313)

  11. Step 950

    950

    #311C3C

    oklch(27% 0.063 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#793897 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)#15529A0.144
Deuteranopia (no green cones)#3357950.126
Tritanopia (no blue cones)#7649620.104
Achromatopsia (no color)#5555550.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #793897

    #793897

    oklch(46.9% 0.157 313.5)

  • #396900

    #396900

    oklch(46.8% 0.133 133.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793897

    #793897

    oklch(46.9% 0.157 313.5)

  • #5348AE

    #5348AE

    oklch(47% 0.157 283.5)

  • #922B70

    #922B70

    oklch(46.9% 0.156 343.7)

Open the analogous palette in the generator

Split complementary

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

  • #793897

    #793897

    oklch(46.9% 0.157 313.5)

  • #655C00

    #655C00

    oklch(46.9% 0.098 102.9)

  • #006C4B

    #006C4B

    oklch(47% 0.101 163.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793897

    #793897

    oklch(46.9% 0.157 313.5)

  • #7C5000

    #7C5000

    oklch(46.9% 0.1 72.9)

  • #006867

    #006867

    oklch(46.8% 0.08 193.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793897

    #793897

    oklch(46.9% 0.157 313.5)

  • #963900

    #963900

    oklch(46.9% 0.137 43.6)

  • #396900

    #396900

    oklch(46.8% 0.133 133.5)

  • #00657F

    #00657F

    oklch(47.1% 0.088 223.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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