#783398

Closest named color: Rebecca Purple (#663399). oklch(46.2% 0.165 313.3), rgb(120, 51, 152).

Aa

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

About this color

#783398 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.165 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.036 away. White text reads best on it, at 7.70:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.165)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.72:1
White text7.70:1

Values

HEX#783398
RGBrgb(120, 51, 152)
HSLhsl(281, 50%, 40%)
OKLCHoklch(46.2% 0.165 313.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 #783398 7.70:1 AAA Lc -90.9 Preferred for body text
Black text on #783398 2.72:1 Fails Lc 17.9 Dividers and decoration only
#783398 text on white 7.70:1 AAA Lc 86.1 Fine for body text
#783398 text on black 2.72:1 Fails Lc -15.9 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E4D1EE

    oklch(88.5% 0.044 314.1)

  4. Step 300

    300

    #D3B2E6

    oklch(80.9% 0.08 313)

  5. Step 400

    400

    #BD88D9

    oklch(70.8% 0.128 313.4)

  6. Step 500

    500

    #AC67CE

    oklch(63.1% 0.163 313.5)

  7. Step 600

    600

    #974CBB

    oklch(55.7% 0.177 313.3)

  8. Step 700

    700 (this color)

    #783398

    oklch(46.2% 0.165 313.3)

  9. Step 800

    800

    #693283

    oklch(42.7% 0.138 313.4)

  10. Step 900

    900

    #552D69

    oklch(37.7% 0.107 313.2)

  11. Step 950

    950

    #321B3D

    oklch(27% 0.067 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#783398 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)#004F9B0.154
Deuteranopia (no green cones)#2D55960.134
Tritanopia (no blue cones)#7547610.110
Achromatopsia (no color)#5353530.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #783398

    #783398

    oklch(46.2% 0.165 313.3)

  • #396700

    #396700

    oklch(46.2% 0.131 133.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #783398

    #783398

    oklch(46.2% 0.165 313.3)

  • #5144B0

    #5144B0

    oklch(46.3% 0.165 283.3)

  • #922470

    #922470

    oklch(46.2% 0.165 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #783398

    #783398

    oklch(46.2% 0.165 313.3)

  • #635A00

    #635A00

    oklch(46.2% 0.097 102.7)

  • #006949

    #006949

    oklch(46.1% 0.098 163.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #783398

    #783398

    oklch(46.2% 0.165 313.3)

  • #794E00

    #794E00

    oklch(46.1% 0.098 72.9)

  • #006665

    #006665

    oklch(46.2% 0.079 193.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #783398

    #783398

    oklch(46.2% 0.165 313.3)

  • #943700

    #943700

    oklch(46.3% 0.137 43.1)

  • #396700

    #396700

    oklch(46.2% 0.131 133.1)

  • #00637C

    #00637C

    oklch(46.4% 0.086 222.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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