#782B9F

Closest named color: Rebecca Purple (#663399). oklch(45.8% 0.182 311.6), rgb(120, 43, 159).

Aa

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

About this color

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

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

Values

HEX#782B9F
RGBrgb(120, 43, 159)
HSLhsl(280, 57%, 40%)
OKLCHoklch(45.8% 0.182 311.6)

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 #782B9F 7.94:1 AAA Lc -91.4 Preferred for body text
Black text on #782B9F 2.64:1 Fails Lc 17.3 Dividers and decoration only
#782B9F text on white 7.94:1 AAA Lc 86.7 Fine for body text
#782B9F text on black 2.64:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4F9

    oklch(93.5% 0.031 312.9)

  3. Step 200

    200

    #E6CFF6

    oklch(88.6% 0.058 311.5)

  4. Step 300

    300

    #D7ADF3

    oklch(80.9% 0.106 311.4)

  5. Step 400

    400

    #C37EED

    oklch(70.8% 0.17 311.4)

  6. Step 500

    500

    #B456E7

    oklch(63.1% 0.218 311.6)

  7. Step 600

    600

    #A032D5

    oklch(55.7% 0.237 311.7)

  8. Step 700

    700

    #8822B8

    oklch(49% 0.219 311.5)

  9. Step 800

    800 (this color)

    #782B9F

    oklch(45.8% 0.182 311.6)

  10. Step 900

    900

    #5A2277

    oklch(37.7% 0.143 311.7)

  11. Step 950

    950

    #351646

    oklch(27.2% 0.09 311.7)

Export this scale for Tailwind in the Tailwind colors tool

#782B9F 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)#004DA20.158
Deuteranopia (no green cones)#1B529C0.151
Tritanopia (no blue cones)#7345620.124
Achromatopsia (no color)#5151510.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #782B9F

    #782B9F

    oklch(45.8% 0.182 311.6)

  • #3C6500

    #3C6500

    oklch(45.8% 0.127 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #782B9F

    #782B9F

    oklch(45.8% 0.182 311.6)

  • #4D3FB8

    #4D3FB8

    oklch(45.8% 0.183 281.7)

  • #941674

    #941674

    oklch(45.8% 0.182 341.4)

Open the analogous palette in the generator

Split complementary

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

  • #782B9F

    #782B9F

    oklch(45.8% 0.182 311.6)

  • #635900

    #635900

    oklch(45.9% 0.096 101.9)

  • #006845

    #006845

    oklch(45.7% 0.101 161.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #782B9F

    #782B9F

    oklch(45.8% 0.182 311.6)

  • #794D00

    #794D00

    oklch(45.9% 0.098 71.9)

  • #006562

    #006562

    oklch(45.8% 0.079 191.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #782B9F

    #782B9F

    oklch(45.8% 0.182 311.6)

  • #943400

    #943400

    oklch(45.9% 0.139 41.6)

  • #3C6500

    #3C6500

    oklch(45.8% 0.127 131.7)

  • #006179

    #006179

    oklch(45.7% 0.085 222.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #782B9F 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.