#782D8A

Closest named color: Rebecca Purple (#663399). oklch(44.6% 0.159 319.3), rgb(120, 45, 138).

Aa

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

About this color

#782D8A is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.159 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.045 away. White text reads best on it, at 8.26:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.159)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.54:1
White text8.26:1

Values

HEX#782D8A
RGBrgb(120, 45, 138)
HSLhsl(288, 51%, 36%)
OKLCHoklch(44.6% 0.159 319.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 #782D8A 8.26:1 AAA Lc -92.5 Preferred for body text
Black text on #782D8A 2.54:1 Fails Lc 16.2 Dividers and decoration only
#782D8A text on white 8.26:1 AAA Lc 87.8 Fine for body text
#782D8A text on black 2.54:1 Fails Lc -14.3 Not readable

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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F5

    oklch(93.5% 0.027 320.2)

  3. Step 200

    200

    #E9CFEF

    oklch(88.6% 0.051 319.9)

  4. Step 300

    300

    #DBAEE7

    oklch(81% 0.092 319.1)

  5. Step 400

    400

    #C880DA

    oklch(70.7% 0.148 319.4)

  6. Step 500

    500

    #B95BD0

    oklch(63% 0.19 319.4)

  7. Step 600

    600

    #A43CBD

    oklch(55.5% 0.206 319.2)

  8. Step 700

    700

    #8D2DA3

    oklch(49.2% 0.192 319.4)

  9. Step 800

    800 (this color)

    #782D8A

    oklch(44.6% 0.159 319.3)

  10. Step 900

    900

    #5D266A

    oklch(37.8% 0.124 319.5)

  11. Step 950

    950

    #36173E

    oklch(26.9% 0.079 319)

Export this scale for Tailwind in the Tailwind colors tool

#782D8A 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)#0D498D0.158
Deuteranopia (no green cones)#3351880.135
Tritanopia (no blue cones)#783D570.099
Achromatopsia (no color)#4E4E4E0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #782D8A

    #782D8A

    oklch(44.6% 0.159 319.3)

  • #1F6500

    #1F6500

    oklch(44.5% 0.141 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #782D8A

    #782D8A

    oklch(44.6% 0.159 319.3)

  • #553DA4

    #553DA4

    oklch(44.6% 0.158 289.1)

  • #8E1F61

    #8E1F61

    oklch(44.5% 0.159 349.3)

Open the analogous palette in the generator

Split complementary

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

  • #782D8A

    #782D8A

    oklch(44.6% 0.159 319.3)

  • #585800

    #585800

    oklch(44.6% 0.097 109.8)

  • #00634C

    #00634C

    oklch(44.4% 0.088 169.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #782D8A

    #782D8A

    oklch(44.6% 0.159 319.3)

  • #6F4D00

    #6F4D00

    oklch(44.6% 0.093 79.4)

  • #006064

    #006064

    oklch(44.4% 0.076 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #782D8A

    #782D8A

    oklch(44.6% 0.159 319.3)

  • #863B00

    #863B00

    oklch(44.5% 0.119 49.3)

  • #1F6500

    #1F6500

    oklch(44.5% 0.141 139.3)

  • #005C7B

    #005C7B

    oklch(44.5% 0.089 229.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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