#793AC7

Closest named color: Bluey Purple (#6241C7). oklch(50.7% 0.206 299.3), rgb(121, 58, 199).

Aa

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

About this color

#793AC7 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.206 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.042 away. White text reads best on it, at 6.47:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.206)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.24:1
White text6.47:1

Values

HEX#793AC7
RGBrgb(121, 58, 199)
HSLhsl(267, 56%, 50%)
OKLCHoklch(50.7% 0.206 299.3)

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 #793AC7 6.47:1 AA Lc -86.5 Fine for body text
Black text on #793AC7 3.24:1 AA large text Lc 22.7 Dividers and decoration only
#793AC7 text on white 6.47:1 AA Lc 81.4 Fine for body text
#793AC7 text on black 3.24:1 AA large text Lc -20.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DED2F9

    oklch(88.6% 0.054 299.3)

  4. Step 300

    300

    #C9B2F8

    oklch(80.8% 0.1 299.2)

  5. Step 400

    400

    #AF87F5

    oklch(70.7% 0.16 299)

  6. Step 500

    500

    #9D64F1

    oklch(63.1% 0.204 299.1)

  7. Step 600

    600

    #8945DF

    oklch(55.6% 0.221 299.2)

  8. Step 700

    700 (this color)

    #793AC7

    oklch(50.7% 0.206 299.3)

  9. Step 800

    800

    #5F2D9D

    oklch(42.7% 0.171 299.4)

  10. Step 900

    900

    #4D2B7D

    oklch(37.8% 0.133 299)

  11. Step 950

    950

    #2D1A49

    oklch(27% 0.084 299.3)

Export this scale for Tailwind in the Tailwind colors tool

#793AC7 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)#005ECB0.140
Deuteranopia (no green cones)#005DC40.141
Tritanopia (no blue cones)#675D7D0.155
Achromatopsia (no color)#5E5E5E0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #793AC7

    #793AC7

    oklch(50.7% 0.206 299.3)

  • #5E6E00

    #5E6E00

    oklch(50.7% 0.119 119.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #793AC7

    #793AC7

    oklch(50.7% 0.206 299.3)

  • #3952D8

    #3952D8

    oklch(50.6% 0.206 269.3)

  • #A0229C

    #A0229C

    oklch(50.7% 0.206 329.5)

Open the analogous palette in the generator

Split complementary

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

  • #793AC7

    #793AC7

    oklch(50.7% 0.206 299.3)

  • #7D6100

    #7D6100

    oklch(50.7% 0.104 88.9)

  • #007A33

    #007A33

    oklch(50.6% 0.142 149.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #793AC7

    #793AC7

    oklch(50.7% 0.206 299.3)

  • #965100

    #965100

    oklch(50.7% 0.12 59.1)

  • #007666

    #007666

    oklch(50.7% 0.093 178.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #793AC7

    #793AC7

    oklch(50.7% 0.206 299.3)

  • #BF0402

    #BF0402

    oklch(50.6% 0.206 29.3)

  • #5E6E00

    #5E6E00

    oklch(50.7% 0.119 119.2)

  • #007280

    #007280

    oklch(50.6% 0.087 209.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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