#793FAE

Closest named color: Rebecca Purple (#663399). oklch(49.4% 0.172 304.9), rgb(121, 63, 174).

Aa

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

About this color

#793FAE is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.172 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.056 away. White text reads best on it, at 6.69:1.

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

Values

HEX#793FAE
RGBrgb(121, 63, 174)
HSLhsl(271, 47%, 46%)
OKLCHoklch(49.4% 0.172 304.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 #793FAE 6.69:1 AA Lc -87.6 Fine for body text
Black text on #793FAE 3.13:1 AA large text Lc 21.5 Dividers and decoration only
#793FAE text on white 6.69:1 AA Lc 82.5 Fine for body text
#793FAE text on black 3.13:1 AA large text Lc -19.4 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

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #E0D2F2

    oklch(88.5% 0.046 305.2)

  4. Step 300

    300

    #CDB3EC

    oklch(80.8% 0.084 305.4)

  5. Step 400

    400

    #B48AE3

    oklch(70.7% 0.133 305)

  6. Step 500

    500

    #A26ADB

    oklch(63.2% 0.17 304.9)

  7. Step 600

    600

    #8D4EC8

    oklch(55.6% 0.185 304.9)

  8. Step 700

    700 (this color)

    #793FAE

    oklch(49.4% 0.172 304.9)

  9. Step 800

    800

    #62348C

    oklch(42.7% 0.143 305.2)

  10. Step 900

    900

    #502F70

    oklch(37.8% 0.111 305.2)

  11. Step 950

    950

    #2E1C42

    oklch(27% 0.071 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#793FAE 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)#005AB10.141
Deuteranopia (no green cones)#235CAC0.129
Tritanopia (no blue cones)#7056710.124
Achromatopsia (no color)#5C5C5C0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #793FAE

    #793FAE

    oklch(49.4% 0.172 304.9)

  • #526D00

    #526D00

    oklch(49.5% 0.124 124.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793FAE

    #793FAE

    oklch(49.4% 0.172 304.9)

  • #4951C1

    #4951C1

    oklch(49.4% 0.173 275)

  • #982F87

    #982F87

    oklch(49.4% 0.171 335)

Open the analogous palette in the generator

Split complementary

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

  • #793FAE

    #793FAE

    oklch(49.4% 0.172 304.9)

  • #746000

    #746000

    oklch(49.4% 0.101 94.7)

  • #007541

    #007541

    oklch(49.4% 0.122 154.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793FAE

    #793FAE

    oklch(49.4% 0.172 304.9)

  • #8C5200

    #8C5200

    oklch(49.5% 0.111 64.9)

  • #007168

    #007168

    oklch(49.3% 0.087 185.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793FAE

    #793FAE

    oklch(49.4% 0.172 304.9)

  • #AE2B03

    #AE2B03

    oklch(49.5% 0.173 34.8)

  • #526D00

    #526D00

    oklch(49.5% 0.124 124.9)

  • #006E80

    #006E80

    oklch(49.5% 0.087 214.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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