#783796

Closest named color: Rebecca Purple (#663399). oklch(46.6% 0.157 313.5), rgb(120, 55, 150).

Aa

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

About this color

#783796 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.038 away. White text reads best on it, at 7.53:1.

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

Values

HEX#783796
RGBrgb(120, 55, 150)
HSLhsl(281, 46%, 40%)
OKLCHoklch(46.6% 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 #783796 7.53:1 AAA Lc -90.5 Preferred for body text
Black text on #783796 2.78:1 Fails Lc 18.4 Dividers and decoration only
#783796 text on white 7.53:1 AAA Lc 85.6 Fine for body text
#783796 text on black 2.78:1 Fails Lc -16.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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  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)

    #783796

    oklch(46.6% 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

#783796 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)#1351990.144
Deuteranopia (no green cones)#3256940.126
Tritanopia (no blue cones)#7549610.106
Achromatopsia (no color)#5454540.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #783796

    #783796

    oklch(46.6% 0.157 313.5)

  • #396800

    #396800

    oklch(46.5% 0.132 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #783796

    #783796

    oklch(46.6% 0.157 313.5)

  • #5247AD

    #5247AD

    oklch(46.7% 0.157 283.4)

  • #912A70

    #912A70

    oklch(46.6% 0.157 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #783796

    #783796

    oklch(46.6% 0.157 313.5)

  • #645C00

    #645C00

    oklch(46.8% 0.099 103.7)

  • #006B4A

    #006B4A

    oklch(46.7% 0.1 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #783796

    #783796

    oklch(46.6% 0.157 313.5)

  • #7A5000

    #7A5000

    oklch(46.7% 0.099 74.3)

  • #006766

    #006766

    oklch(46.5% 0.08 193.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #783796

    #783796

    oklch(46.6% 0.157 313.5)

  • #953800

    #953800

    oklch(46.6% 0.137 43.3)

  • #396800

    #396800

    oklch(46.5% 0.132 133.3)

  • #00647D

    #00647D

    oklch(46.7% 0.087 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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