#793BB1

Closest named color: Rebecca Purple (#663399). oklch(49.1% 0.181 304.7), rgb(121, 59, 177).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.181)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text3.07:1
White text6.83:1

Values

HEX#793BB1
RGBrgb(121, 59, 177)
HSLhsl(272, 50%, 46%)
OKLCHoklch(49.1% 0.181 304.7)

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 #793BB1 6.83:1 AA Lc -88.0 Fine for body text
Black text on #793BB1 3.07:1 AA large text Lc 21.1 Dividers and decoration only
#793BB1 text on white 6.83:1 AA Lc 83.0 Fine for body text
#793BB1 text on black 3.07:1 AA large text Lc -19.0 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CDB3EF

    oklch(80.9% 0.087 304.3)

  5. Step 400

    400

    #B589E6

    oklch(70.8% 0.139 304.9)

  6. Step 500

    500

    #A367DF

    oklch(63.1% 0.18 304.9)

  7. Step 600

    600

    #8E4BCD

    oklch(55.6% 0.195 304.5)

  8. Step 700

    700 (this color)

    #793BB1

    oklch(49.1% 0.181 304.7)

  9. Step 800

    800

    #62328F

    oklch(42.7% 0.149 304.6)

  10. Step 900

    900

    #502D72

    oklch(37.6% 0.116 304.8)

  11. Step 950

    950

    #2F1B43

    oklch(27% 0.074 305)

Export this scale for Tailwind in the Tailwind colors tool

#793BB1 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)#0059B50.143
Deuteranopia (no green cones)#155BAE0.139
Tritanopia (no blue cones)#6F55710.131
Achromatopsia (no color)#5B5B5B0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #793BB1

    #793BB1

    oklch(49.1% 0.181 304.7)

  • #516C00

    #516C00

    oklch(49.2% 0.123 125)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793BB1

    #793BB1

    oklch(49.1% 0.181 304.7)

  • #474FC5

    #474FC5

    oklch(49.2% 0.181 274.6)

  • #992989

    #992989

    oklch(49.1% 0.181 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #793BB1

    #793BB1

    oklch(49.1% 0.181 304.7)

  • #735F00

    #735F00

    oklch(49.1% 0.101 94.6)

  • #007440

    #007440

    oklch(49.1% 0.122 154.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793BB1

    #793BB1

    oklch(49.1% 0.181 304.7)

  • #8B5100

    #8B5100

    oklch(49.2% 0.111 64.6)

  • #007067

    #007067

    oklch(49% 0.086 185.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793BB1

    #793BB1

    oklch(49.1% 0.181 304.7)

  • #AD2900

    #AD2900

    oklch(49.1% 0.173 34.7)

  • #516C00

    #516C00

    oklch(49.2% 0.123 125)

  • #006D7F

    #006D7F

    oklch(49.2% 0.087 214.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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