#782F8C

Closest named color: Rebecca Purple (#663399). oklch(44.9% 0.158 318.3), rgb(120, 47, 140).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.158)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.58:1
White text8.12:1

Values

HEX#782F8C
RGBrgb(120, 47, 140)
HSLhsl(287, 50%, 37%)
OKLCHoklch(44.9% 0.158 318.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 #782F8C 8.12:1 AAA Lc -92.1 Preferred for body text
Black text on #782F8C 2.58:1 Fails Lc 16.6 Dividers and decoration only
#782F8C text on white 8.12:1 AAA Lc 87.4 Fine for body text
#782F8C text on black 2.58:1 Fails Lc -14.7 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

    #F2E5F6

    oklch(93.7% 0.027 318.2)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DAAEE7

    oklch(80.9% 0.092 318.4)

  5. Step 400

    400

    #C781DB

    oklch(70.8% 0.147 318.5)

  6. Step 500

    500

    #B85CD1

    oklch(63.1% 0.189 318.6)

  7. Step 600

    600

    #A33DBE

    oklch(55.6% 0.205 318.5)

  8. Step 700

    700

    #8B2EA4

    oklch(49.1% 0.19 318.2)

  9. Step 800

    800 (this color)

    #782F8C

    oklch(44.9% 0.158 318.3)

  10. Step 900

    900

    #5C266B

    oklch(37.7% 0.124 318.3)

  11. Step 950

    950

    #36183E

    oklch(27.1% 0.077 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#782F8C 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)#0F4B8F0.155
Deuteranopia (no green cones)#33528A0.133
Tritanopia (no blue cones)#783F590.100
Achromatopsia (no color)#4F4F4F0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #782F8C

    #782F8C

    oklch(44.9% 0.158 318.3)

  • #256600

    #256600

    oklch(45% 0.14 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #782F8C

    #782F8C

    oklch(44.9% 0.158 318.3)

  • #553FA6

    #553FA6

    oklch(45% 0.158 288.2)

  • #8F2264

    #8F2264

    oklch(45% 0.158 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #782F8C

    #782F8C

    oklch(44.9% 0.158 318.3)

  • #5A5900

    #5A5900

    oklch(45% 0.098 109)

  • #00654C

    #00654C

    oklch(45% 0.091 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #782F8C

    #782F8C

    oklch(44.9% 0.158 318.3)

  • #714D00

    #714D00

    oklch(44.8% 0.094 77.8)

  • #006265

    #006265

    oklch(45% 0.077 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #782F8C

    #782F8C

    oklch(44.9% 0.158 318.3)

  • #893B00

    #893B00

    oklch(45% 0.122 48.3)

  • #256600

    #256600

    oklch(45% 0.14 138.3)

  • #005E7B

    #005E7B

    oklch(45% 0.087 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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