#7B3496

Closest named color: Rebecca Purple (#663399). oklch(46.6% 0.162 315.4), rgb(123, 52, 150).

Aa

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

About this color

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

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

Values

HEX#7B3496
RGBrgb(123, 52, 150)
HSLhsl(283, 49%, 40%)
OKLCHoklch(46.6% 0.162 315.4)

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 #7B3496 7.57:1 AAA Lc -90.5 Preferred for body text
Black text on #7B3496 2.77:1 Fails Lc 18.3 Dividers and decoration only
#7B3496 text on white 7.57:1 AAA Lc 85.7 Fine for body text
#7B3496 text on black 2.77: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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F5

    oklch(93.7% 0.023 314.7)

  3. Step 200

    200

    #E4D1ED

    oklch(88.5% 0.043 315)

  4. Step 300

    300

    #D4B2E4

    oklch(80.9% 0.078 314.9)

  5. Step 400

    400

    #BE87D6

    oklch(70.6% 0.126 315.2)

  6. Step 500

    500

    #AE67CB

    oklch(63.2% 0.161 315.4)

  7. Step 600

    600

    #994BB7

    oklch(55.5% 0.175 315.6)

  8. Step 700

    700 (this color)

    #7B3496

    oklch(46.6% 0.162 315.4)

  9. Step 800

    800

    #6A3280

    oklch(42.7% 0.135 315.4)

  10. Step 900

    900

    #562D67

    oklch(37.7% 0.105 315.1)

  11. Step 950

    950

    #331B3C

    oklch(27% 0.066 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#7B3496 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)#0C50990.155
Deuteranopia (no green cones)#3356940.133
Tritanopia (no blue cones)#7946600.106
Achromatopsia (no color)#5454540.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B3496

    #7B3496

    oklch(46.6% 0.162 315.4)

  • #336900

    #336900

    oklch(46.5% 0.137 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B3496

    #7B3496

    oklch(46.6% 0.162 315.4)

  • #5544AF

    #5544AF

    oklch(46.6% 0.163 285.4)

  • #94266D

    #94266D

    oklch(46.6% 0.162 345.7)

Open the analogous palette in the generator

Split complementary

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

  • #7B3496

    #7B3496

    oklch(46.6% 0.162 315.4)

  • #625C00

    #625C00

    oklch(46.6% 0.099 105.2)

  • #006A4C

    #006A4C

    oklch(46.5% 0.097 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B3496

    #7B3496

    oklch(46.6% 0.162 315.4)

  • #795000

    #795000

    oklch(46.5% 0.098 75)

  • #006768

    #006768

    oklch(46.6% 0.079 195.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B3496

    #7B3496

    oklch(46.6% 0.162 315.4)

  • #933B00

    #933B00

    oklch(46.7% 0.132 45.4)

  • #336900

    #336900

    oklch(46.5% 0.137 135.3)

  • #00637F

    #00637F

    oklch(46.5% 0.089 225.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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